Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine Whether or Not a Group Has Any MembersContent of Determine Whether or Not a Group Has Any Members.vbsMD5 Hash: 0FF0424D02B1BC6D5C5E15812123B7A3 |
||
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 :: |