Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Get-ADGroupMember with all user properties

$
0
0

Pipe the resulting objects to Get-ADUser (though it’s probably a good idea to make sure you’re actually looking at a user object first), like so:

Get-ADGroupMember -Identity SomeGroup |
Where-Object { $_.objectClass -eq 'user' } |
Get-ADUser -Properties *

Viewing all articles
Browse latest Browse all 13067

Trending Articles