0

I run the following power shell command inside SharePoint 2013 power shell window:-

PS C:\Windows\system32> stsadm -o gl-fixpublishingpagespagelayouturl -url "http://gvstg01/wikilibrary/52" -scope webapplication

but i got the following error:-

Missing operation name or the operation name is invalid.

can anyone adivce what is wrong with my powershell command? Thanks

1

I am sure Gary Lapointe's custom stsadm will not work in 2013.

You need to do the following things.

From this page you can see all the aviable custom commands.

http://www.falchionconsulting.com/PowerShellViewer/Default.aspx

  • so can I just use Repair-SPPageLayoutUrl command ?, If the answer is Yes, then how i can write this command, as seems there are many parameters such as RegexSearchString ,RegexReplaceString, etc which i do not understand .. can u adivce – – john Gu Aug 26 '14 at 0:28
  • did you see the example at the end of page, give you exactly what you have to write.Mostly parameters or optionals....you can check example 1 may be fix your problem – Waqas Sarwar MVP Aug 26 '14 at 1:23
  • thanks for the reply, which example you are talking about, thnaks. – john Gu Aug 26 '14 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.