0
votes
1answer
11 views

Copy-SPSite for /PWA doesn't work on SharePoint 2013

Hello I'm trying to make a script to move an ProjectServer site from one farm to another. To to this, first I import the WSS_Content database then try to rename the /PWA site with Copy-SPSite ...
0
votes
0answers
32 views

Removing permissions from a user throwing exception - PowerShell

I was trying to remove Read permission to all sub-sites for a particular user. Following is the code that I tried so far - $site = Get-SPSite "http://pc152637/" foreach ($web in $site.AllWebs){ ...
0
votes
0answers
17 views

Make permissions read only for existing users of all sub-sites under a site

How to make permissions read only for existing users of all sub-sites under a site using power shell script? Other permissions like Full control, Contribute must be removed for the users.
1
vote
1answer
48 views

Powershell add sitecollection primary adminstrator

I want to create PS script to create sitecollection and add the primary and secondary sitecollection administrator. However i need to find out if the user account user that used to assign in ...
0
votes
1answer
28 views

Error in restoring a sharepoint2013 site collection using powershell command

We have requirement to restore an existing site collection in share point 2013 to a new site in share point 2013 and for this we have taken back up of the old site collection using this power shell ...
0
votes
0answers
15 views

Any example on .AddDependentLookup with power shell for a look up field

Here is the code which I have tried using Add dependent lookup. But gives an error. any idea what's wrong? Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue $url = ...
0
votes
1answer
29 views

Unattended execution of C# scripts

I'm a beginner designing automatizing tasks. I have 2 scripts in C# .These scripts generate two XML docs which are connected and synchronized with two native lists in a SharePoint Portal through ...
2
votes
1answer
28 views

Need site inventory tool for SharePoint 2007 that doesn't require server access

We're migrating from 2007 to 2010 and I need a full inventory (site, libraries, lists) so I can remove stuff that's no longer being used. However, everything I've found so far requires server access. ...
1
vote
3answers
61 views

Copy Document library from one site to another with metadata preserved?

Is there a way to to move all items from one document library in one site to another document library in another site where even the metadata like Created,Created Date,Modified,Modified Date,Assigned ...
0
votes
0answers
44 views

Cannot convert 'System.Object[]' to the type 'Microsoft.SharePoint.PowerShell.SPSolutionPipeBind'

Getting this error when i try to deploy a .wsp to a SharePoint 2013 portal. Someone have any idea? Get-SPSolution : Cannot convert 'System.Object[]' to the type ...
0
votes
1answer
26 views

powershell to check web template in sharepoint

I want to check on which webtemplate site is created. Like for site "xyz/abc.default.aspx" , I want to check on which web templated it was created. Can anyone provide me the powershell command to ...
1
vote
1answer
82 views

SharePoint Doc Library Batch Delete

I am trying to write a batch Powershell script to delete the items from Sharepoint Document Library. I could not delete them because I have to reference owsfileRef field in batch command as per the ...
1
vote
1answer
115 views

Cannot iterate over users in site collection with powershell; unspecified error

I am using this fine script to build a script, which iterates over all sitecollections in a web application. The purpose of this is, to list all users, with their permissions, and from which objected ...
1
vote
3answers
314 views

Powershell How to unlock all sitecollections

I am trying to build a Powershell Script, which iterates over all SiteCollections and checks if they are on lockdown. This is because, sometimes some collections don't come back from read-only, after ...
0
votes
1answer
591 views

Difference between Administrator and WSS_Admin_WPG [duplicate]

What is difference between Administrator and WSS_Admin_WPG, on the SharePoint Server Machine Is Administrator rights on Server Machine enough to do all activities on SharePoint server , Power ...
2
votes
1answer
245 views

Broken Lists Cannot Be Deleted

There are a few lists in a SharePoint Server 2010 development environment that are broken. Due to this situation, clicking the lists in the SharePoint Web interface throw .NET exceptions, and viewing ...
0
votes
1answer
3k views

Do i have to run Register-SPWorkflowService for each site collection?

As part of my SHarePoint Server 2013 setup I sometimes need to integrate the new workflow infrastructure into the farm. I've followed the documentation starting from the SharePoint side of things: ...