Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_SecurityDescriptor QueryContent of WMI Win32_SecurityDescriptor Query.vbsMD5 Hash: 13E3B026CD73C40F1B0A2C25D3961C59 |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_SecurityDescriptor",,48) For Each objItem in colItems Wscript.Echo "ControlFlags: " & objItem.ControlFlags Wscript.Echo "DACL: " & objItem.DACL Wscript.Echo "Group: " & objItem.Group Wscript.Echo "Owner: " & objItem.Owner Wscript.Echo "SACL: " & objItem.SACL Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |