Have you ever had a requirement from your farm users that they need a custom permission level which allows the users/groups to add or submit documents or InfoPath forms into a library but not view or edit them? If you try to create this permission level using SharePoint GUI (Site Permissions > Permission Levels > [...]
Archive for the ‘PowerShell’ Category
Cannot Delete Site Columns from Document Library or Content Type
Posted in PowerShell, SharePoint 2010, tagged SharePoint Administration on September 29, 2011 | Leave a Comment »
Recently I ran into an issue where one of the SharePoint users added an existing site column called “Active” into one of the document libraries and was not able to remove it. This is a strange behavior from SharePoint and is because some “AllowDeletion” field property is set to true by default. Anyway, I was [...]
Scheduling SharePoint PowerShell Scripts in Windows Server 2008 R2
Posted in PowerShell, SharePoint 2010, tagged SharePoint Administration on July 14, 2011 | Leave a Comment »
In order to schedule a SharePoint PowerShell script to be run on specific time in Windows Server 2008 R2, perform the following procedures. Save your PowerShell script into some folder location with .ps1 extension. Create a new task in Windows task scheduler. Specify the user account the PowerShell script to use when running. In Actions, [...]