How to Start a SharePoint Workflow using PowerShell?

Requirement is: To start a specific Workflow on All documents in a document library. Solution: let’s use PowerShell to Start workflow Programmatically on all Items in a Document Library! After making sure, “Manual start” is enabled for the workflow. PowerShell script to start SharePoint workflow Using this method, We can Start/Stop/Cancel even…

Read more

Set Permissions and Restrict Access to SharePoint Views

Little background: PMO from Sales domain came with this requirement: They Have a list for capturing project metrics in a project collaboration SharePoint Site with below columns: There are two requirements: When Project Managers logs in, they should get projects in which they are assigned as “Project Managers”. When Program Manager logs…

Read more

SharePoint Document Versions Size Report with PowerShell

This is a PowerShell version of my existing post Version History Size Report for SharePoint which uses C# object model to generate a versioning report and gives insights, such as: Site/Library’s Total versions size Total No. of versions created Which documents are with more versions Type of the documents Library in which…

Read more

My Site, My Profile Links Not Found in SharePoint 2010

Problem: End-Users were unable to create my site in SharePoint 2010 as the “My Site” link doesn’t appear on the Welcome Menu! Cause: After making sure User Profile Service Application is properly configured, found UPS is not associated with the particular web application! That’s why SharePoint 2010 my site link is missing!…

Read more

How to Change SharePoint List or Library Settings Programmatically with PowerShell?

There is a requirement to change the SharePoint document library draft item security on all document libraries in a sub-site. We used to achieve it by going to: Document Library settings >> Versioning Settings. Change “Draft Item Security” from “Any user who can read items (default setting)” to “Only users who can…

Read more

Audit Specific User Permissions in SharePoint 2007 with PowerShell

In continuation with my earlier post: SharePoint Permission Report: Check Access Rights for a Specific User, got few requests to make the PowerShell script compatible with MOSS 2007. Hence, I’m posting the code here. Make sure you are running the script from Farm Admin credentials who has “FULL Control” Policy created on…

Read more

SharePoint Versioning Manager – Control Versioning Settings & Clean Up Old Versions

We have document libraries with unlimited versioning enabled for years. As part of regular auditing Version History Size Report for Entire SharePoint Web Application, found many documents have more than 100 versions!  In order to free up more database storage space and for better performance, We understand that we’ll have to disable…

Read more

MOSS 2007 List Toolbar in SharePoint 2010

After migrating from MOSS 2007 to SharePoint 2010, some users still face difficulty with SharePoint 2010 interface, especially ribbon. What they are asking for is: List toolbar is missing! We need MOSS 2007 style list view toolbar!! As SharePoint 2010 list toolbar integrated with ribbon, SharePoint doesn’t show list toolbar separately, by…

Read more