Recover SharePoint 2007 / 2010 / 2013 Product Key using PowerShell

Ever wanted to recover your SharePoint 2007 or SharePoint 2010 Product key from an existing SharePoint Farm? Sure! It’s encoded and stored in the system registry, and we can recover the license key with PowerShell. Here is the code: PowerShell Script to Recover SharePoint 2007 Product key: PowerShell Script to Recover SharePoint…

Read more

Update All Items in a SharePoint List using PowerShell

Use these PowerShell scripts to update all items in SharePoint lists: SharePoint PowerShell script to update all items in a list: Requirement is to update all items in a SharePoint list using PowerShell script: Filter and Update all documents in a SharePoint Library: This PowerShell script selectively updates all document’s metadata, residing…

Read more

How to Rename SharePoint Web Application Name and URL?

We may want to change a web application name to make consistency in naming conventions or in some other scenarios. But I don’t find any SharePoint Central Administration options to rename a web application! So how to rename SharePoint 2013 web application Name? Well, PowerShell can help! Rename a SharePoint web application…

Read more

SharePoint Workflows Inventory Report using PowerShell

In continuation with my other post: Workflows Inventory Report for SharePoint, which was done using C# object model code, This is a PowerShell version to find all workflows deployed in the SharePoint environment to generate the workflows Inventory report. Basically, this script iterates through all site collections-sites-List objects to fetch workflow data…

Read more

Hide SharePoint List Columns based on User Permissions

Requirement: We have a “Requests” link in our Help Desk site. The “Status” field in the help desk requests list should be hidden when users create a new entry in the list. Same time, Status field must be visible to people in “Help desk operators” group. So, the requirement is to hide…

Read more

How to Make SharePoint List Column (Form Field) Read Only?

How to make a column read only in SharePoint 2010? Well, there are many ways. Here are some: Make column read only in SharePoint list programmatically use jQuery to make SharePoint field read only Using SharePoint Designer to set field read only in list forms. Programmatically Set SharePoint list field to Read-Only…

Read more

Find and Delete Orphaned Users in SharePoint with PowerShell

Some times back, I posted an article on Orphaned Users in SharePoint. in short, SharePoint orphaned users are those who are deleted from Active Directory, but still have permissions to SharePoint sites!  Read more here: Find and Delete Orphaned Users in SharePoint PowerShell to Find and Delete Orphaned Users in SharePoint Now,…

Read more

Export SharePoint Users and Groups to Excel using PowerShell

Requirement: Export SharePoint Group members to Excel PowerShell Script to Export Users & Groups: We wanted to Export SharePoint Users and Groups to Excel for analyzing SharePoint Groups and Users along with their Account Name, E-mails! We can export SharePoint User Group to excel using PowerShell. Here is how: This script will…

Read more

Import from CSV to SharePoint List with People Picker Field Values

Requirement is: To add bulk of records from a CSV file to SharePoint list with People Picker field of “Allow multiple selections” set to “Yes”. Unfortunately, SharePoint datasheet view doesn’t allow us to copy-paste People picker values. So, I got to write the script! Here is my data to be imported to…

Read more