Powershell List and Export Active Directory users UNDER certain OU incl. Homeshare
Powershell: List/Export Active Directory users UNDER certain OU incl. Home share Searchbase = distinguishedName How to find this out: Start Active Directory User and Computers Console Go to the OU you want to export and Right click > Attribute Editor Copy the distinguishedName into the script below behind search base Change your Domain controller behind […]