![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Search for a Virtual Server Security Entry
|
||
' Description: Locates the security entry for a Virtual Server user named bob on a virtual machine named Windows 2000 Server.
On Error Resume Next Set objVS = CreateObject("VirtualServer.Application") Set objVM = objVS.FindVirtualMachine("Windows 2000 Server") Set objSecurity = objVM.Security Set objEntry = objSecurity.FindEntry("bob",0) Wscript.Echo objEntry.Name Wscript.Echo objEntry.SID | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |