Find and Replace Old Link URLs in Quick Launch, Top Navigation Menus during Migration

Found so many hard-coded links (Absolute links) in SharePoint Quick launch and in Top navigation bar. This PowerShell script, Scans and Replaces the provided Old URL with the New URL all over the SharePoint web Application. PowerShell Script to Find and Replace Quick Launch and Top Navigation Links: This script may even…

Read more

SharePoint Top Navigation Link: Open in New Window

There was a requirement is to add a link in intranet portal’s top navigation bar. Provided on clicking the link, it should open in new window, as the site link added was developed in a different platform & environment other than SharePoint. If publishing feature is enabled, we can just go to:…

Read more

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

Dynamic Fusion Charts from SharePoint 2010 List Data

I said it before, and I’m saying it again: “Fusion Charts is a great product!”. In my earlier fusion chart implementations, in most cases, charts are generated with predefined categories. In some cases, I’ve also generated fusion charts for SharePoint 2010 with dynamic categories. How to use the fusion chart in SharePoint…

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