URL: https://www.overclockers.at/windows/user_count_w2k_55663/page_1 - zur Vollversion wechseln!
Kennt ihr ein tool, welches die user in einer domain gruppe zählt?
hab leider nix im i-net gefunden, aber mittels ADSI und VBS kann man sich sowas auch selber basteln:
vielleicht brauchts ihr es ja auch...
SYNTAX: countuser.vbs <domainname> <groupname>
Set WshShell = WScript.CreateObject("WScript.Shell")
Set objArgs = Wscript.Arguments
if (objArgs.Count >= 1) then
DomainName = UCase(trim(objArgs(0)))
if (objArgs.Count >=2) then
GroupName = UCase(trim(objArgs(1)))
end if
end if
Set cont = GetObject("WinNT://" + DomainName + "/" + GroupName)
For Each objAds In cont.Members
'wscript.echo objAds.Get("FullName")
i=i+1
Next
Set cont = Nothing
wscript.echo ""
wscript.echo DomainName & "\" & GroupName + " hat " & i & " Members"
"net user"
net /?
Zitat von spunz"net user"
net /?
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026