.NET in PowerShell (no additional tools or modules needed):

 

http://www.sapienpress.com/downloads/ADChap5_secure.pdf

 

AD Syntax for all users is:

 

Get-aduser -filter * -properties *

 

Quest Syntax for all users:

 

Get-QADUser * -IncludeAllProperties

 

From: KenM [mailto:[email protected]] 
Sent: Thursday, September 23, 2010 10:03 AM
To: NT System Admin Issues
Subject: Re: Powershell to get all users details from AD

 

Typo in first MS should be get-aduser.

 

and if you want all users. Test first syntax may not be correct did not
test.

 

get-qaduser | %{get-qaduser $_ -properties * | fl}

 

get-aduser -filter * | %{get-aduser USERNAME -properties * | fl}

On Thu, Sep 23, 2010 at 10:00 AM, KenM <[email protected]> wrote:

Quest cmdlets

 

get-qaduser USERNAME -includedproperties * | fl

 

MS AD cmdlets

 

get-aduser USERNAME -properties * | fl

 

 

 



 

On Thu, Sep 23, 2010 at 5:56 AM, Oliver Marshall <
[email protected]> wrote:

        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

         

         

         

 

Network Support 
Online Backups
Server Management

        Tel: 0845 307 3443 

        Email: [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
<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

         

        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]
        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

 

~ 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


~ 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

<<image001.jpg>>

<<image002.png>>

Reply via email to