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

PowerShell Script to Export Users, Groups, and Group Membership

$
0
0

I'm really new to Powershell scripting but am very interested in learning more.  With that said, my boss wants to see if we can write a PowerShell script that exports 100k+ users, groups, and group membership on a nightly basis from multiple domain controllers spread throughout the country.  This NIGHTLY process is essentially an AD replication, but we're limited to SFTP over a private cloud, using text files... so no AD/AD one way replication. 

User info will include SAMAccountName, SID, etc.

Group info will be the same

User/Group membership will be SID/SID relationships.

100k users, nearly that many groups, and who knows how many group membership items we'll find.

Any help will be greatly appreciated.

Thanks for your time. Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles