Local groups and members using Powershell (Get-WMIobject)
I am trying to replicate a combination of WMI and ADSI, to use just WMI. This is a quick fix whilst we put a case forward for winRM as a replacement. This is something that is new to me, so please excuse my ignorance on this. I am trying to get the local groups and group members, i have used the following to get what i need. Get-WmiObject -ClassName Win32_Group –ComputerName $computername Get-WmiObject -ClassName win32_groupuser –ComputerName $computername This gives me what i need, however i can't get the SID from a service which is running. I have a document which was done before me, which s
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.