1
vote
1answer
32 views

Powershell Script to approve all the pages,masterpages,layouts in a site collection

Need some automated way for publishing the content throughout the site within the one action using some commands, powershell or some custom code or any utility available for SharePoint 2013. Any ...
0
votes
1answer
50 views

Missing operation name or the operation name is invalid

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 ...
5
votes
1answer
71 views

Multilingual user interface: Is it possible to Export Translations using PowerShell?

I have a SharePoint Server 2010 Enterprise with several language packs installed. The Alternate Languages have been enabled in the Site Settings and several items have been translated. Is it possible ...
1
vote
1answer
129 views

programmatically check if sharepoint installed

I'm developing an application which test if SharePoint is installed correctly, with stsadm and PowerShell access. I wonder if there is a specified stsadm or PowerShell command or a specified C# code ...
1
vote
1answer
92 views

get all database name with stsadm

I want to know to get all database name with an stsadm commend like Get-SPDatabase in power shell I found this cmd:stsadm -o databaserepair -url http://xyz/sites/sc -databasename DBname but it need ...
4
votes
5answers
4k views

I cant delete or restore a site collection or repair database

When I try to do a restore of a site collection, restore-spsite -Identity https://xx/10014628/ -Path D:\SiteCollectionBackups\10014628.bak -Force -Confirm I get: restore-spsite : ...
0
votes
1answer
197 views

Hide specific Site Template from SP2010 Site creation list using Powershell or Stsadm

I have some custom site templates.. Now i want to just hide those templates from the Site Creation List.. I found some ways to like editing webtemp.xml and doing it from UI for each site collection.. ...
1
vote
0answers
473 views

SharePoint 2010 - setting peoplepicker-searchadforests, unable to remove property and get <Property Exist=“No”> after setting with no -url param

Interesting behavior that I was hoping someone could help with. Trying to adjust the "peoplepicker-searchadforests" property using the stsadm command in Powershell, I ran the below command: stsadm ...
1
vote
1answer
212 views

Solution deployment fails with error “Violation of PRIMARY KEY constraint 'PK_Classes'”

In our install script, which installs several solutions together, we found that solutions were occasionally failing to deploy with the following error in the ULS log: ...
0
votes
1answer
286 views

How can I access/set stsadm properties from code?

I'm trying to set the ChangeLogRetentionPeriod stsadm property from code, which is normally set from the SP powershell. What is the best way to go about setting this property from code? Background: ...
3
votes
1answer
360 views

Import-Spweb is changing the user id if the user does not exist in the organisation anymore

We had to restore a list (which has versionsing enabled) in our PROD enviornment SP 2010 August CU 2012. We used the following command metioned below: Import-SPWeb http://example.com/projects/myList ...
1
vote
1answer
87 views

Can not turn of notifications (SP 2010)

I'm about to update 300 items in a list that I know lots of users are subscribing to (notification by email on every item update event). I've tried turn this off by using STSADM: stsadm -o ...
2
votes
1answer
1k views

STSADM.exe, PowerShell v2.0 and Management Shell

What is the difference between the three? STSADM.exe PowerShell v2.0 Management Shell I understand you can run powershell scripts in the management shell, but I thought I remember reading that ...
0
votes
1answer
823 views

Export all subsites

I am looking for a quick way to export all sub-sites from a web application and exclude the root url, is there a quick way to accomplish this?
0
votes
3answers
681 views

Windows Powershell stsadm

I am quite new to windows powershell. I have tried to run the following command "stsadm -o setadminport. I get the error that the Term stsadm is not a recognized cmdlet, function etc. My reading ...
2
votes
4answers
242 views

Administering SharePoint with PowerShell

I have a limited knowledge on Powershell, but from what I've seen, it can be very useful in admin/dev tasks. What would I have to develop to get a nice toolset for WSS/Stsadm administration? Is ...