Learn when you want, where you want with convenient online training courses. Sign up now!
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!
Open in new window
dsquery * "OU=YourUsers,DC=yourCompany,DC=com" -filter "(objectcategory=user)" -limit 0 -attr displayName pager > details.txt
dsquery user "OU=OUname,DC=domain,DC=local" -limit 0 | dsget user -display -email -pager>c:\Users.csv
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\> get-aduser
The term 'get-aduser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:11
+ get-aduser <<<<
+ CategoryInfo : ObjectNotFound: (get-aduser:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> import-module activedirectory
PS C:\> get-aduser
cmdlet Get-ADUser at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.