|
|
Change AD User Password
I am not AD admin. Give a user's current password, how to change his/her
password in powershell?
Thanks
|
|
0
|
|
|
|
Reply
|
Utf
|
11/18/2009 8:35:01 PM |
|
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" wrote:
> I am not AD admin. Give a user's current password, how to change his/her
> password in powershell?
>
> Thanks
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
11/20/2009 4:43:02 PM
|
|
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" wrote:
> 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" wrote:
>
> > I am not AD admin. Give a user's current password, how to change his/her
> > password in powershell?
> >
> > Thanks
> >
> >
|
|
0
|
|
|
|
Reply
|
Utf
|
11/21/2009 2:03:01 PM
|
|
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.
"Ben" wrote:
> 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" wrote:
>
> > 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" wrote:
> >
> > > I am not AD admin. Give a user's current password, how to change his/her
> > > password in powershell?
> > >
> > > Thanks
> > >
> > >
|
|
0
|
|
|
|
Reply
|
Utf
|
11/25/2009 7:51:01 AM
|
|
|
3 Replies
1986 Views
(page loaded in 0.179 seconds)
|
|
|
|
|
|
|
|
|