in

didierdanse.net

Site personnel de Didier Danse
Didier Danse's Personnal Website
Microsoft Most Valuable Professional SharePoint

didierdanse.net - Development News

SharePoint: How to modify passphrase?

When installing SharePoint, you have to define a passphrase which is used for service accounts and other stuff. As usual in a test envrionment, you lost the passphrase and you need to change it.Once again, Powershell is the solution.

First thing, we have to see which CmdLet is available to perform passphrase operations…

PS C:\Users\Administrator> get-command *passp* 

CommandType     Name                            Definition 
-----------     ----                            ---------- 
Cmdlet          Set-SPPassPhrase                Set-SPPassPhrase -PassPhrase... 

There is only one. Passphrase need to be a secure string so we have to convert our passphrase to a secure string.

PS C:\Users\Administrator>  $passphrase = ConvertTo-SecureString -asPlainText -Force 

cmdlet ConvertTo-SecureString at command pipeline position 1 
Supply values for the following parameters: 
String: P2ssw0rd 

We can use the secured version of the passphrase in the set method to change the stored passphrase:

PS C:\Users\Administrator> Set-SPPassPhrase -PassPhrase $passphrase -Confirm 

cmdlet Set-SPPassPhrase at command pipeline position 1 
Supply values for the following parameters: 
ConfirmPassPhrase: ******** 

Confirm 
Are you sure you want to perform this action? 
Performing operation "Set-SPPassPhrase" on Target "SPPassPhrase". 
Yes Yes  Angel Yes to All  No No  [L] No to All  Sleep Suspend  [?] Help 
(default is "Y"):y 

Easy to do, isn’t it?

Comments

 

Avi said:

Thank you for the post, very helpful.  Using your post I am running them using win powershell on the web server. First command works but the second one runs into an error.  

PS>$passphrase = ConvertTo-SecureString -asPlainText -Force

PS>Set-SPPassPhrase -PassPhrase $passphrase -Confirm

error: The term 'Set-SPPassPhrase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

p.s. I was unable to get the any result from get-command *passp*  also ..

what could be wrong, please help!

July 29, 2010 6:12 PM
 

Vishwas Setty said:

You need to add the PSSnapin to run the SharePoint cmdlets. If you add that, then you will be able to run them through Windows PowerShell, or you can use SharePoint Management Shell....

Regards

Vishwas

MCTS, MCITP SharePoint 2010

May 20, 2011 1:06 PM
 

coach outlet online store said:

<body>Fulfilling our needs for fast fashion means increased production and competition in clothing manufactured in countries with fashion trend.In order to meet the market's demands,<a href="www.usa--store4coach.com.com/"><strong>Coach Outlet Store Online</strong></a> pay more attention on the fashion style with the latest material.In terms of luxury consumption, consumers in Western countries prefer traditional brands while consumers are wilder about the fashionable fad.In <a href="www.usa--store4coach.com.com/"><strong>Coach Outlet</strong></a> there are many famous bags of the <a href="www.usa--store4coach.com.com/"><strong>Coach Outlet Online</strong></a>.In USA,at least,each of the person have a Coach bags on the average.So,in the Amercian market,Coach bags get the people favourate.On that basic,manufacture take the chance to make the price very on the high side.Today,<a href="www.usa--store4coach.com.com/"><strong>Coach Handbags Outlet USA</strong></a> do atmost to drop the price,with the same quality.In order to thanks for the public,Coach give a biggest discount to Forengn for the fastival.If U bag bags over $99,<a href="www.usa--store4coach.com.com/"><strong>Coach Outlet Store Online</strong></a> can send the goods to Ur home without the fright.At the same time,the goods of coach bags can have a discount at 82% to meet the market's needs.So don't worry,<a href="www.usa--store4coach.com.com/"><strong>Coach Outlet Online Store</strong></a> can give U the chance to owned your remembered bags with very lowest price.At the same time,<a href="www.usa--store4coach.com.com/"><strong>Coach Outlet Store Online</strong></a> newly iaunched the latest fad bags which canused a ensation in the fashion world for U to make up in the winter.Is your heat moving very fast,quick, first come first get.More and More chance are waiting for U.

<a href="www.usa--coachonline.com/"><strong>Coach Outlet Online</strong></a> and <a href="www.usa--coachonline.com/"><strong>Coach Outlet Online Store</strong></a> offer you chance to purchase your ideal articles. Here login <a href="www.usa--coachonline.com/"><strong>Coach Outlet Online</strong></a> or <a href="www.usa--coachonline.com/"><strong>Coach Outlet</strong></a> to purchase your favourites, such as Coach Cristin Bags, Coach Crossbody bags.They are renowned for exquisite workmanship, skillful knitting and elegant design and sell very well both at home and abroad. In order to convenient our customers, we also offer you other platforms. They are <a href="www.usa--coachonline.com/"><strong>Coach Outlet Online</strong></a>,<a href="www.usa--coachonline.com/"><strong>Coach Outlet Online Store</strong></a> and <a href="www.usa--coachonline.com/"><strong>Coach Factory Outlet</strong></a>. We not only provide you the superior goods but offer you the best after-sales serives. So, please login <a href="www.usa--coachonline.com/"><strong>Coach Outlet Online</strong></a>.

February 21, 2012 5:57 AM
 

AIR MAX 90 bottes said:

China's diplomatic personnel have big range system adjustment, involving more than one ministry and department bureau class officials, including MaChaoXu, LeYuCheng two "60" after the first to enter the foreign ministry officials leadership. In addition, China's foreign ministry spokesman, served in the Philippines is the ambassador's liu jianchao, has set up a file HuoRen China's ambassador to Indonesia. According to the national oceanic administration official website news, recently, liu jianchao in Indonesia visit ambassador got ahead of the state oceanic administration, and the director of the LiuCi in surface said China and Indonesia Marine cooperation has extensive prospect. He will be in after taking office in Indonesia, to continue to push forward the two countries in the field of Marine communication and friendly cooperation. Since the end of last year, the ministry of foreign affairs ministry of leadership and more important YeWuSi chief has been adjusted. Some countries are ambassadors also have changed.  <a href="www.chaussuresairmax-fr.com/">AIR MAX 90</a>

<a href="www.chaussuresairmax-fr.com/">AIR MAX 2009</a>

<a href="www.chaussuresairmax-fr.com/">AIR MAX 91</a>

Among them, the former vice foreign minister LiJinZhang already served as China's ambassador to Brazil; Former ambassador XieHangSheng back in Denmark appointed deputy foreign minister; Another former chief of staff, zhang Ming, should MaChaoXu priests, policy rules.

February 22, 2012 2:28 AM
 

coach factory said:

Best <a href="http://www.ccoachhandbags.com">authentic coach handbags</a> On Sale. Welcome to our <a href="http://www.clearancecoachhandbagssale.com">clearance coach handbags</a> store. The latest & fashion style <a href="http://www.coachbagsonlinesales.com">coach bags on sale</a> are waiting for your select. <a href="http://www.ccoachhandbags.com">discount coach handbags</a> is based in New York, the leading men of the high-quality leather accessories and main gifts American enterprise. In our <a href="http://www.coachbagsoutletsales.com">coach bags outlet</a> clearance coach handbags</a> store, you can get the best service, and gets the best quality <a href="http://www.coachpurse-sale.com">coach purse discount</a>. Once you cast a glance, you will be unable to resist the charm of them. They are amazing to be possessed. Welcome to the world of <a href="http://www.ccoachhandbags.com">discount coach handbags</a> New Style. In our <a href="http://www.coachpurse-sale.com">coach purse</a>, there are a wide range of Luggage waiting for you. <a href="http://www.ccoachhandbags.com">coach outlet</a> design beautiful and designer bags both for casual and business wear. The newest style of Cheap <a href="http://www.clearancecoachhandbagssale.com">coach handbags sale</a> are supply in our store,it will help you to follow the fashion tend. <a href="http://www.coachpurse-sale.com">coach purse sale</a> is a leading American designer of luxury goodies. <a href="http://www.coachbagsonlinesales.com">coach bags</a> become a symbol of elegance and luxury.  It is a good choice to purchase <a href="http://www.coachbagsoutletsales.com">discount coach bags</a>, because all of the <a href="http://www.coachbagsoutletsales.com">coach bags</a> products that designed are in high quality, and the fashionable style all earn the <a href="http://www.coachbagsonlinesales.com">coach handbags</a> much attention. <a href="http://www.clearancecoachhandbagssale.com">coach handbags</a> have managed to reign supreme for a long time as the handbag of choice for most women.

April 9, 2012 9:21 PM
 

coach factory said:

Best <a href="http://www.ccoachhandbags.com">authentic coach handbags</a> On Sale. Welcome to our <a href="http://www.clearancecoachhandbagssale.com">clearance coach handbags</a> store. The latest & fashion style <a href="http://www.coachbagsonlinesales.com">coach bags on sale</a> are waiting for your select. <a href="http://www.ccoachhandbags.com">discount coach handbags</a> is based in New York, the leading men of the high-quality leather accessories and main gifts American enterprise. In our <a href="http://www.coachbagsoutletsales.com">coach bags outlet</a> clearance coach handbags</a> store, you can get the best service, and gets the best quality <a href="http://www.coachpurse-sale.com">coach purse discount</a>. Once you cast a glance, you will be unable to resist the charm of them. They are amazing to be possessed. Welcome to the world of <a href="http://www.ccoachhandbags.com">discount coach handbags</a> New Style. In our <a href="http://www.coachpurse-sale.com">coach purse</a>, there are a wide range of Luggage waiting for you. <a href="http://www.ccoachhandbags.com">coach outlet</a> design beautiful and designer bags both for casual and business wear. The newest style of Cheap <a href="http://www.clearancecoachhandbagssale.com">coach handbags sale</a> are supply in our store,it will help you to follow the fashion tend. <a href="http://www.coachpurse-sale.com">coach purse sale</a> is a leading American designer of luxury goodies. <a href="http://www.coachbagsonlinesales.com">coach bags</a> become a symbol of elegance and luxury.  It is a good choice to purchase <a href="http://www.coachbagsoutletsales.com">discount coach bags</a>, because all of the <a href="http://www.coachbagsoutletsales.com">coach bags</a> products that designed are in high quality, and the fashionable style all earn the <a href="http://www.coachbagsonlinesales.com">coach handbags</a> much attention. <a href="http://www.clearancecoachhandbagssale.com">coach handbags</a> have managed to reign supreme for a long time as the handbag of choice for most women.

April 9, 2012 9:21 PM
 

Coach Outlet Online said:

Welcome to buy <a href="http://www.cheapcoachpursessale.com"><strong>Cheap Coach Purses</strong></a> for sale online if you want to get the best price for your dream coach on <a href="http://www.coachpursesoutletsonlines.com"><strong>Coach Purses Outlet</strong></a>.<a href="http://www.coachonlinesoutlets.com"><strong>Coach Online Outlet</strong></a> have various types for your choices in <a href="http://www.coachpursesfree.com"><strong>Coach Purses Outlet</strong></a>, you'll find selections to meet any budget from <a href="http://www.coachonlinesoutlets.com"><strong>Coach Outlet Online</strong></a>. Here are some detailed of discount <a href="http://www.coachonlinesoutlets.com"><strong>Coach Online Sale</strong></a>.Elegant and noble will be the distinctive characteristic of authentic <a href="http://www.coachonlinesoutlets.com"><strong>Coach Outlet</strong></a> on sale 2012 at discount coach online store. The absolutely excellent craftsmanship and worldwide top level make discount <a href="http://www.coachpursesfree.com"><strong>Coach Purses Outlet Store</strong></a> for sale online comfort and durability. The <a href="http://www.coachsonlinesoutlet.com"><strong>Coach Outlet</strong></a> have quite a few fans around the world for many years, mainly because these <a href="http://www.coachpursesoutletsonlines.com"><strong>Coach Outlet</strong></a> have a wide selection of colors, sizes and styles, earning him a solid reputation. The favorite price of <a href="http://www.cheapcoachpursessale.com"><strong>Coach Purses Outlet</strong></a> with the durability, fancy styles and refined handwork give you ultimate comfort and fashion. Besides, the op art patters with unique figure captions, modern silver metal on the surface, authentic fabric lining and so on make them quite durability and practicality. So <a href="http://www.coachpursesoutletsonlines.com"><strong>Coach Purses</strong></a> on sale are very convenient for daily life which can be worn either by your side or tucked under your arm. Everyone does want to have this style of <a href="http://www.coachpursesfree.com"><strong>Coach Outlet Store</strong></a> because of its unique design on <a href="http://www.cheapcoachpursessale.com"><strong>Coach Purses Sale</strong></a>. Buy <a href="http://www.coachonlinesoutlets.com"><strong>Coach Online</strong></a> now and enjoy the fashion world now.Shop <a href="http://www.coachsonlinesoutlet.com"><strong>Coach Outlet Store</strong></a> with free shipping!

April 10, 2012 5:16 AM
 

Matt Wieters Jersey said:

www.nikevikingsjerseysshop.com           Vikings Jerseys

www.nikevikingsjerseysshop.comnike-adrian-peterson-jersey           Adrian Peterson Jersey

www.nikevikingsjerseysshop.comnike-christian-ponder-jersey           Christian Ponder Jersey

www.nikevikingsjerseysshop.comnike-jared-allen-jersey           Jared Allen Jersey

www.nikevikingsjerseysshop.comnike-percy-harvin-jersey           Percy Harvin Jersey

www.nikevikingsjerseysshop.comnike-joe-webb-jersey           Joe Webb Jersey

www.nikevikingsjerseysshop.comnike-toby-gerhart-jersey           Toby Gerhart Jersey

www.nikevikingsjerseysshop.comnike-chris-cook-jersey           Chris Cook Jersey

www.nikevikingsjerseysshop.comnike-kevin-williams-jersey           Kevin Williams Jersey

www.nikevikingsjerseysshop.comnike-chad-greenway-jersey           Chad Greenway Jersey

www.nikevikingsjerseysshop.comnike-michael-jenkins-jersey           Michael Jenkins Jersey

www.nikevikingsjerseysshop.comnike-visanthe-shiancoe-jersey           Visanthe Shiancoe Jersey

June 14, 2012 2:13 AM
 

Hermes Handbags said:

Keep functioning ,terrific job!

www.hermeshandbagoutlet.com

June 28, 2012 4:09 AM
 

Hermes Handbags said:

Keep functioning ,terrific job!

www.hermeshandbagoutlet.com

June 28, 2012 4:09 AM
 

Cheap beats by dre said:

July 18, 2012 2:02 AM
 

All of you purse pushers are motherfuckers said:

I dont need to see that garbage

April 1, 2013 4:38 PM
 

Cheap Coach Handbags Sale Online said:

August 23, 2013 9:28 AM
 

cheap coach handbags said:

August 23, 2013 9:29 AM

Leave a Comment

(required)  
(optional)
(required)  
Add
L'auteur du site ne peut être tenu responsable des dommages que les informations fournies pourraient entraîner. Tout est cependant mis en oeuvre pour éviter tout désagrément.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems