vcent Posted March 31, 2009 Posted March 31, 2009 I have Set colAccounts = GetObject("WinNT://" & strComputer & "") colAccounts.Filter = Array("user") How do I do the "filter" option like vbscript. Thanks.
Valuater Posted March 31, 2009 Posted March 31, 2009 This might get you started.. $strComputer = @ComputerName Global $colAccounts = ObjGet("WinNT://" & $strComputer & "") MsgBox(4096, "", $colAccounts.Filter = ("user")) 8)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now