[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Export User Profile path and Login script path from AD2003

Posted on 2009-12-20
1
Medium Priority
?
1,653 Views
Last Modified: 2012-05-08
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,

0
Comment
Question by:kenny_klbn
1 Comment
 
LVL 71

Accepted Solution

by:
Chris Dent earned 2000 total points
ID: 26094317

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

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here's a look at newsworthy articles and community happenings during the last month.
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question