title: net localgroup administrators equivalent in powershell
body: <p>I've configured winrm on all my desktops via GPO, so I can now use the <code>invoke-command</code> cmdlet to run commands locally on remote machines.  When I run <code>net localgroup administrators</code> on my local machine this works and gives me what I want.  The problem is I cannot do anything with this data.  I cannot pipe out the results to a variable so I can lets say remove specific accounts.  </p>
  
  <p>Is there a built in cmdlet that will let me do the same as <code>net localgroup administrators</code> ?</p>