Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Enumerating group membership on a remote machine with WMI

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,59603
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Enumerating group membership on a remote machine with WMI
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Enumerating group membership on a remote machine with WMI - 4/28/2008 7:06:29 PM   
  ginolard


Posts: 965
Score: 21
Joined: 8/10/2005
Status: offline
I recently came across some VB.NET code that used WMI to enumerate local group membership on a remote machine using WMI.  I had always used the WINNT provider because I didn't think WMI could do it.  The problem with the WINNT provider for this sort of thing is that it is painfully slow.  Doing it with WMI is much, much faster.

So, here you go.


      

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Enumerating group membership on a remote machine with WMI Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts