Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. slundy

    Enumerate what group the local user is a member of

    Ended up using this: Set objNetwork = CreateObject("Wscript.Network") strComputer = objNetwork.ComputerName Set wshShell = CreateObject("WScript.Shell") strUser = wshShell.ExpandEnvironmentStrings("%USERNAME%") Set colGroups = GetObject("WinNT://" & strComputer & "") colGroups.Filter =...
  2. slundy

    Enumerate what group the local user is a member of

    Also, we're porting this to a comma delimited text file, but I noticed in a few others scripts that people we're porting theirs to excel spreadsheets. That's where ours will end up, so any help on that end would be helpful as well.
  3. slundy

    Enumerate what group the local user is a member of

    I've seen tons of these for domains, but where I work we're on novell, so no domain to bind to, or query. Basically just need to find out if the logged on user is a part of the power users group, or administrators group. Those are the only two groups that are in use from an enterprise...

Part and Inventory Search

Back
Top