Getting a script

hi,

I am looking for a script to produce a report in csv format that shows first name, surname, display name, UPN and user logon name from a windows 2003 active directory domain server. Any help would be appreciated.
gmollineauAsked:
Who is Participating?
 
Mohammed KhawajaConnect With a Mentor Manager - Infrastructure:  Information TechnologyCommented:
You do not need to install PowerGUI on the server, you could just install it on a workstation which has PowerShell.
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Do you have powershell installed on this domain controller?

See below link for Powershell cmdlets against  2003 domain controllers.
http://blogs.technet.com/b/ashleymcglone/archive/2011/03/17/step-by-step-how-to-use-active-directory-powershell-cmdlets-against-2003-domain-controllers.aspx

Will.
0
 
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Install Quest PowerGui and then run the following command from PowerGui Script Editor (that is if you do not have any Win2K8 DC/AD Web Services running):

Get-QADUser | ft givenname, sn, dn, samaccountname -AutoSize | out-file c:\directory\filename.csv
0
 
gmollineauAuthor Commented:
Hi,

I installed the Quest PowerGui, however how do i do the Get-QADUser?
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
You need to have powershell installed on the server for this to work. PowerGUI runs on top of powershell, which is why it is not working as expected.

Will.
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.