Posted on 2013-01-28
I am using:
(Get-ADUser -Identity jdoe -Properties memberof | Select-Object MemberOf).memberof
to return the group memebership of a selected user, but I get back:
I would like to just get back the group name (CN) instead of the full string.