Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

powershell command to obtain ad user info

$
0
0

I have tried several different commands to export a csv of all ad users and they have worked great however I also need on the export the Ou the account resides in and what status each account is(enabled or disabled)

I have searched the web for this and am unable to find anything that will do this, I have tried csvde, dsquery/dsget and powershell.

 

I have come to the end of my tether trying to get this.

 

Any help would be appreciated


Viewing all articles
Browse latest Browse all 6937

Trending Articles