Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Determine  Whether  or  Not  a  Group  Has  Any  Members  

 Content of Determine Whether or Not a Group Has Any Members.vbs
MD5 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 ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a