0
votes
0answers
29 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
29 views

Break Role Inheritence Problem

I used following script provided by Nadeem for breaking permission inheritance of folder. but for me, when I tested ,it doesn't break inheritance at all. it is just assigning new group to the ...
1
vote
1answer
97 views

Setting permission on folders and items of Document Library

Suppose I create a group "XYZ" who has full control on site . I will break permission inheritance of rootfolders (from folder starting with A to J) inside document library "abc" and assign a "XYZ" ...
1
vote
0answers
32 views

Setting group permission to each file inside folder in Document

i Have the following PowerShell Script which iterates through each file in document library folders starting with name "a" of root folder. if((Get-PSSnapin "Microsoft.SharePoint.PowerShell") -eq ...
1
vote
1answer
46 views

PowerShell command to get list of documents where users x and y has permissions?

I would like to get a list of documents where user x and y has permissions. Can someone help me? I would like to do it in either PowerShell or C# code.
-1
votes
2answers
101 views

3rd party tool to minimize the manual effort - SharePoint 2010?

We would like to setup a tool to help us on the below listed activities and dont expect any additional features, the tool should be cost effective as we have 2wfes with less than 4k users. Manage ...
1
vote
2answers
84 views

Copying permission levels in SharePoint 2010?

As a SharePoint support team, most of our efforts goes in giving/revoking/listing the permission. We would like to reduce the manual effort, I know Axceler is one of tool which greatly helps in ...
0
votes
1answer
588 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 ...
1
vote
1answer
168 views

PowerShell script that would display the security of SharePoint Site

I'm looking for a PowerShell script that would display or create a report of the security configuration of a site collection. Any help would be appreciated. It would list: Site Collection Owners ...
1
vote
2answers
72 views

SP_Admin SQL Permissions

I'm trying to create a web application using powershell and I'm getting a log in error with the SP_Admin account. I'm not sure if I've made a mistake when I was setting up the environment, I might ...
1
vote
1answer
613 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
102 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
2k 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
1k 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
1k 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 ...
4
votes
3answers
3k 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
684 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
234 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
3answers
424 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
1answer
84 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
188 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
225 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
2answers
6k 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
3answers
3k 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
3k 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 ...
1
vote
3answers
2k 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 ...
4
votes
2answers
5k 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
3answers
600 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?