1
vote
1answer
31 views

Get SharePoint Group Permissions Via PowerShell

I am looking for a PowerShell command to get the permissions of a SharePoint group on a securable object. I have googled for a while but without success. I am aware of the ...
1
vote
1answer
42 views

“User cannot be found.” error in Powershell

I am writing a PowerShell script to re-sync my users to the AD because of a problem I have described Here. From time to time I get a "Set-SPUser : user cannot be found." error but when I call the same ...
0
votes
1answer
89 views

Powershell Script to generate site collection administrators, site URL, Site Name,Members in the group named 'owners'

I have a requirement currently to generate all the Sharepoint site in a Web application with the following information: Site URL Site Name Site Collection Administors : ID or name Members in the group ...
0
votes
1answer
75 views

Setting permissions

I am looking to set a site admins as the only people who can use a certain page via powershell, so far I have only been able to check permissions not set any
5
votes
2answers
265 views

I dont have permissions to use SharePoint PowerShell, what to do?

I am a developer and would like to deploy a wsp to a server (win2k8r2) from my customer. I log in with some user created special for me. When I start SharePoint PowerShell I got this error: The local ...
3
votes
3answers
744 views

Add group to Library permissions using powershell

I have written a script that created a document library called "Audit Logs" for every site collection in our environment. I then wanted to ensure that only Site Collection administrators and the ...
1
vote
3answers
347 views

How can I change Document library permissions for all site collections using powershell?

Total Powershell newbie here, but I have managed to write a couple scripts so far that have been working. We are using 2010 Enterprise edition, and I have been tasked with creating a script that will ...
0
votes
1answer
152 views

Improve performance of powershell script

I am using following Powershell script to break the folder permissions inside the Record Libraries: $webUrl = 'http://intranet' $web = Get-SPWeb $webUrl; $SPBaseTypeDocumentLibrary = ...
0
votes
0answers
119 views

appying permissions using powershell on Project Server 2010

We have a PWA that has 100 project sites, each with broken permissions, on the root site there is a sharepoint group with 4 users, named "Admins (Microsoft Project Server)". Some how the Admins group ...
0
votes
2answers
220 views

PowerShell System.Reflection.TargetInvocationException on Line 1 - Permissions?

I've adapted a PowerShell script from Harry Chen's "SharePoint Connoisseur" blog to solve the broken Navigation Up issue he describes. My code is slightly modified, but only to reduce the data ...
0
votes
0answers
23 views

Methods to obtain a list/map of permissions throughout the web application?

Are there any scripts that list out the permissions for all the site collections>>sites>>lists and libraries within a web application? My objective is to obtain a list showing inherited as well as ...
0
votes
1answer
78 views

Right Management Sharepoint

I have a sharepoint list. Users should be able to create new items and change some attributes. I gave full access for the users on the list items. But now I think there is a security gap: what ...
1
vote
0answers
171 views

Changing permission level of a document from contribute to read for members

I need a help .... with a powershell script. I have a document and i need to modify the existing permission level for members from 'contribute' to 'read'. Anyone has any idea how to do that? In ...
3
votes
1answer
1k views

How to authenticate when using powershell

I am trying to perform some tasks on user profiles and so, need to connect with different permissions using an account created for that. And, I am doing this with Powershell. Try { $site = ...
1
vote
1answer
174 views

Change owner of all objects

Is it possible to change the owner of all lists, libraries, and pages on SharePoint 2010? Our developers logged in via their personal accounts to the dev server and so SharePoint took their account as ...
2
votes
1answer
4k views

Permissions error setting up SharePoint 2010 PowerShell account privileges

SharePoint Foundation 2010 SP1 on Windows Server 2008 R2 Std SP1 (Domain Controller) in a simple farm with a single SQL Server 2008 SP1/Windows Server 2008 Std SP2 backend I realise installing SP on ...
0
votes
1answer
2k views

Restore-SPSite : Access Denied

Restore-SPSite : Access Denied You do not have permission to perform this action or access this resource. This is the error I get when trying to restore a Site Collection backup from the integrated ...
1
vote
3answers
2k views

Powershell - Item Level Permission by Content Type

Here is the scenario. I only need to run this once as business team just decided their contents are confidential. User Group is "Marketing", will use OOTB "Contribute" and all of marketing items are ...
0
votes
3answers
1k views

PowerShell script to give reader permission for a user in site collection

I have a SharePoint server where I built a site collection that contains many subsites inside. I want to give a user a reader permission across whole site collection sub sites. How to do it using a ...
3
votes
2answers
3k views

Error: Access Denied (Including Site Collection Admins) for all users

I have migrated to Sharepoint 2010 successfully but Search service wasn't working every time I get system error when I perform search. Today I have tried following things on server, 1] Application ...
2
votes
2answers
531 views

How to view what a user has access to with PowerShell?

A user has limited access but I don't know what for. How can I view what this user has access to? I'm on WSS 3. Does anyone know of a PowerShell script to perform this method?