Export User Profile path and Login script path from AD2003

Hi Experts,

What's the script for exporting user's profile path and login script path from ADUC into csv or spreadsheet?

thanks in advance
rgds,

kenny_klbnAsked:
Who is Participating?
 
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

With Windows PowerShell and Quest's CmdLets:

PowerShell: http://support.microsoft.com/kb/968929
Quest CmdLets: http://www.quest.com/powershell/activeroles-server.aspx

You can do:

Get-QADUser | `
  Select-Object Name, Name, ProfilePath, HomeDirectory | `
  Export-CSV "SomeCSVFile.csv" -NoType

That gets all users from your domain, selects the name, profile path and home directory and writes it back to a CSV file (yell if it doesn't).

You can add filters to limit the number of users, or a search base to select only from a specific OU and below if required.

Chris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.