Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Terminal Services Permission SettingsContent of List Terminal Services Permission Settings.vbsMD5 Hash: 3798B3561BA592C46E225D0AA6F589B6 |
||
' Description: Lists Terminal Services permission settings.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery _ ("Select * from Win32_TSPermissionsSetting") For Each objItem in colItems Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Description: " & objItem.Description Wscript.Echo "Setting ID: " & objItem.SettingID Wscript.Echo "Terminal name: " & objItem.TerminalName Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |