域内计算机和用户获取实现vbs代码
显示当前域内所有计算机名称及数目 实现代码如下: Const ADS_SCOPE_SUBTREE = 2 Set objRootDSE = GetObject("LDAP://rootDSE") strDomain = ObjRootDSE.Get("defaultNamingContext") S
显示当前域内所有计算机名称及数目 实现代码如下: Const ADS_SCOPE_SUBTREE = 2 Set objRootDSE = GetObject("LDAP://rootDSE") strDomain = ObjRootDSE.Get("defaultNamingContext") S
实现代码如下:Dim Wsh,objWMIService,colMonitoredEvents Set Wsh = WScript.CreateObject("WScript.Shell") Set objWMIService = GetObject("winmgmts:\. ootwmi") Se
实现代码如下:'**************************** '*by r05e '*检验SQL SERVER是否在这机器上工作 '**************************** strComputer = "." Set objWMIService = GetObject("
实现代码如下://获取对象 function getObject(objectId,top) { doc = top?window.top.document:document; if(typeof(objectId)!="object" } else if(doc.getElementsByNam
源代码如下:实现代码如下:#-*- coding:utf-8 -*- def check_exsit(process_name): import win32com.client WMI = win32com.client.GetObject('winmgmts:') processCodeCov =
实现代码如下:on error resume next const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!
实现代码如下://获取对象 function getObject(objectId,top) {doc = top?window.top.document:document;if(typeof(objectId)!="object" }else if(doc.getElementsByName(ob
on error resume next const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set StdOut = WScript.StdOut Set oReg=GetObject("winmgmts:{impersonati
//表单对象 function GetObject(Name) { var inputlist=document.all.tags('input'); var i=0; for(i=0;i<inputlist.length;i++) { var input=inputlist[i]; if(i
WScript.Echo "Enabling Kerberos Logging..." const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLev