Quantcast
Channel: Directory Services Forum
Viewing all articles
Browse latest Browse all 2536

Enumarate AD USers - name,samaccountname,enabled AND Group Membership

$
0
0

I need to list users (name, full name and if it is enabled or not) AND their local membership

If i try

Get-ADUser -Filter * | ft -property name,samaccountname,enabled

Works ok

(there is a best method?)

But i would like to see the groups for the user to an audit request, so the formatting have to be as friendly as possible, listing the names of the groups the user belongs to


Viewing all articles
Browse latest Browse all 2536

Trending Articles



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