Aaron
Aaron

Reputation: 3325

Active directory groups of a computer in powershell

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

Answers (1)

Helmut
Helmut

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

Related Questions