PowerShell Question

I would like to unlock, user logon name, AAAAA

what command line should I use
PS C:\> Unlock-ADAccount -Identity AAAAA
Hiroyuki TamuraField EngineerAsked:
Who is Participating?
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.

Jason CrawfordTransport NinjaCommented:
Jose Gabriel Ortega CastroEE Rookie/Solution Guide/Topic Advisor and CEO Faru Bonon ITCommented:
import-module activedirectory
Unlock-ADAccount -Identity Username

Open in new window

Hiroyuki TamuraField EngineerAuthor Commented:
Snap3784.pngthis means i dont have right?
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Search for AD or Active Directory

You have inserted a colon as a parameter. The error says "A positional parameter cannot be found that accepts the argument ':'". So remove the colon.

Search-ADAccount -LockedOut

Open in new window

You get get the list of parameters and examples from help or refer here.

Get-Help Search-ADAccount -Full

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
Hiroyuki TamuraField EngineerAuthor Commented:
Thank you
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

From novice to tech pro — start learning today.