Thursday, September 19, 2013

How to change the password of SharePoint 2010 using Power Shell

Here is the simple way without going into trouble and configuration nitty-gritty of SharePoint Central Admin.

#Set Execution Policy
1. Set-ExecutionPolicy -ExecutionPolicy Unrestricted -force

#Import SharePoint Module
2. Add-PSSnapin Microsoft.SharePoint.PowerShell -EA silentlycontinue

3. $m = Get-SPManagedAccount -Identity “Domain\userid”

4. Set-SPManagedAccount -Identity $m  -ExistingPassword (ConvertTo-SecureString “LoginAccountPassword″ -AsPlainText -force) –confirm

iisreset

Simple recipe to change the password isn't it? :)

Note: You can use this script on your all WFEs and Application Servers to change over the other Farms server as well.

And for more details you can visit to this blog
Change Password

2 comments:

Unknown said...

Really very nice blog information for this one and more technical skills are improve,i like that kind of post.

dot net training in chennai

dot net training in bangalore

dot net training in pune

Janu said...

Thankful to u as u have gave a valuable information in new domain.Warm welcome to your unique thoughts.
Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery