title: PowerShell: Get membership info for a computer account (not a user account)
body: <p>Getting an ambiguous identity error.  I can search successfully to return the group that a user account is a member of, but when I try to search for the groups that a computer account is a member of there is the ambiguous identity error.  I tried to use a -type or -identity switch, but either I did not have the syntax correct or it was just not applicable.</p>
  
  <p>Where my targeted computer account is called SNA00760856, I have been working on using...</p>
  
  <pre><code>Get-QADGroup -Containsindirectmember SNA00760856
  </code></pre>
  
  <p>Any massaging that I can do to the command to get the groups that the computer SNA00760856 is a member of?  Dropping in a user account in place of the computer account works like a charm.</p>
  
  <p>I have also tried to qualify the computer name with the domain info.<br>
  Ie SNA00760856.mydivision.mydomain.com or mydivision\SNA00760856</p>
  
  <p>Also tried to collect the membership of the computer using which I know is wrong after a closer reading of the switch info....</p>
  
  <pre><code>Get-QADobject -IndirectMemberOf SNA00760856
  </code></pre>
  
  <p>Results in ambiguous identity as well.</p>