![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine Whether or Not a Group Has Any Members
|
||
strComputer = "atl-ws-01"
Set objGroup = GetObject("WinNT://" & strComputer & "/Remote Desktop Users") i = 0 For Each objUser in objGroup.Members i = i + 1 Next Wscript.Echo "Number of users in group: " & i | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |