Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

get-aduser group membership

$
0
0

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


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>