No PowerShell required.

Dsquery * forestroot -limit 0 -filter objectClass=user -attr *

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Oliver Marshall [mailto:[email protected]]
Sent: Thursday, September 23, 2010 5:57 AM
To: NT System Admin Issues
Subject: Powershell to get all users details from AD

Hi

Does anyone know of a powershell script/syntax that I can use to get a list of 
all the users from the AD, their OU location, name, phone details, address, 
profile, organisation details...basically as much as possible from the 
properties for each user account?

Olly



[cid:[email protected]]


Network Support
Online Backups
Server Management

Tel: 0845 307 3443
Email: [email protected]<mailto:[email protected]>
Web: http://www.g2support.com<http://www.g2support.com/>
Twitter: g2support<http://twitter.com/home?stat...@g2support>
Newsletter: http://www.g2support.com/newsletter
Mail: 2 Roundhill Road, Brighton, Sussex, BN2 3RF

Have you said something nice about us to a friend or colleague ?
Let us say thanks. Find out more at 
www.g2support.com/referral<http://www.g2support.com/referral>

G2 Support LLP is registered at Mill House, 103 Holmes Avenue, HOVE
BN3 7LE. Our registered company number is OC316341.


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

<<inline: image001.jpg>>

<<inline: image002.png>>

Reply via email to