Active directory

How do I tell if a user has an Active Directory account created?
donnie91910Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

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

David Johnson, CD, MVPOwnerCommented:
bring up active directory users and computers (ADUC) or poweshell
import-module activedirectory
$user = read-host "Enter Username to check"
$exists = "Doesn't Exist"
if (( get-aduser -identity $user -ErrorAction SilentlyContinue) )
    {
    $exists = "Exists"
        }
write-host ("User:" +$user + " "+$exists +" in Active Directory")

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Will SzymkowskiSenior Solution ArchitectCommented:
Open ADUC, click the "Find" button in the top toolbar and tye in the users name.

Thats it, pretty easy.

Will.
Pankaj SinghTechnical ManagerCommented:
You can use Dsa.msc where you can find search option to locate users and all the objects in AD, or if you are logged in  from that account and want to make sure its an AD object or not you can use Netaccount cmd with the admin privilege
.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.