PS Command to list Administrators Group of Remote Server
Invoke-Command -ComputerName Comp01 -ScriptBlock{net localgroup Administrators}
*Replace Comp1 with server/computer name.
Thanks,
WintelAdmin
Facebook Comments
PS Command to list Administrators Group of Remote Server
Invoke-Command -ComputerName Comp01 -ScriptBlock{net localgroup Administrators}
*Replace Comp1 with server/computer name.
Thanks,
WintelAdmin