Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change AD User Password

9 views
Skip to first unread message

Ben

unread,
Nov 18, 2009, 3:35:01 PM11/18/09
to
I am not AD admin. Give a user's current password, how to change his/her
password in powershell?

Thanks


Mike Pfeiffer

unread,
Nov 20, 2009, 11:43:02 AM11/20/09
to

The easiest way is using either the quest cmdlets or the ad powershell module.

example using ad powershell's Set-ADAccountPassword cmdlet:

Set-ADAccountPassword johndoe -Reset -NewPassword (ConvertTo-SecureString
-AsPlainText "p@ssw0rd" -Force)

example using quest's Set-QADUser cmdlet:

Set-QADUser johndoe -UserPassword "p@ssw0rd"

Ben

unread,
Nov 21, 2009, 9:03:01 AM11/21/09
to
Mike,

I don't have the persmission to set a user's password. I only have this
user's current password, how can I change it? Is there any .NET class for
this?

Thanks,

Mike Pfeiffer

unread,
Nov 25, 2009, 2:51:01 AM11/25/09
to
Ben, sorry for the late reply...

You're going to need permission to reset the password regardless of the
cmdlet or .NET class being used.

0 new messages