Find AD Users
This script is used to export AD users from GSMIXAZ OU
It requires the OU to passed as a parameter to the script. Examples of these OUs:
- supp02
- ivan01
- tstcls
Usage Example
Make sure you open powershell with your GSMIXAZ account. If you do not do this you will not have permission.
cd c:\Temp
.\Export-AD-Users.ps1 supp02
Output
This is exactly how you will run it on the arcus support server
PS C:\Temp> .\Export-AD-Users.ps1 supp02
Exporting users for [supp02]
Exported to .\11-07-2023_045457.csv
PS C:\Temp>