Scan your entire domain and list all the users account with a roaming profile and export them to csv file.
Prerequisite:
How To:
- Run ActiveRoles Management Shell for Active Directory. You will need to be login or Run As with an account that have enough rights to read all users account in ADUC
- Run this PowerShell command:
Get-QADUser -sizelimit 0 | where {$_.profilepath -ne $NULL} | Select-object SamAccountName,profilepath | export-csv c:UsersProfiles.csv
The command might take a long time to run depending on the size of your active directory database. Once the command is completed you will find a file called UserProfiles.csv at the root of your C drive. This file will have 2 columns: samAccountName and ProfilePath.
Share this article
{ 2 comments… read them below or add one }
Fantastic it works but only after you install Quest Software PowerShell CMDLET’s
thank you
You welcome Roy I’m glad it helped.