Hi,
I want to use the get-aduser cmdlet to return all nested groups that a user belongs to.
I've tried :
(GET-ADUSER –Identity User1 –Properties MemberOf | Select-Object MemberOf).MemberOf
However this doesn't seem to return the nested groups :
Is there any way to do this with get-aduser (note - I can't use the quest get-qaduser function)
Thanks
Bill