Reputation: 3325
If Get-ADPrincipalGroupMembership
shows me what groups a user account is in, what would you use to look up a computer? I would like to display this in powershell as output.
Upvotes: 0
Views: 1625
Reputation: 488
This question was asked before and some solutions were posted in these threads:
I need a script to detect if a computer is in an active directory user group
PowerShell: Get membership info for a computer account (not a user account)
Upvotes: 1