Site Collection Administrators Report for All SharePoint 2007 Sites

I just had to generate a report to find SharePoint site collection administrators and see who are all assigned with Site collection administrator rights on various site collections in the entire SharePoint Farm. Sure, let’s use PowerShell in SharePoint to get site collection administrator programmatically. This script iterates through all site collections…

Read more

Fix for SharePoint UserProfileApplicationNotAvailableException_Logging Exception

I was trying to write a PowerShell script to retrieve user profile properties in SharePoint 2013, and ended up with the below error: “UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have c4a5371c-01c2-4281-b91b-ca335982f994” Solution: After verifying user profile service application and SharePoint timer jobs are up and running, arrived at the right destination: User…

Read more

SharePoint Site Collection Storage Size – Quota Usage Report using PowerShell

Requirement: Wanted to get a quick storage quota report on SharePoint sites on their allocation vs used space metrics to find out underutilized sites. PowerShell script to get SharePoint site quota report If you want to get used storage space for a particular site collection, use: To get storage data for all…

Read more

Run SharePoint 2010 Timer Jobs On-Demand with PowerShell

We may have to run SharePoint timer jobs on-demand in some situations. Say for e.g. To update Rating values, I had to run the timer jobs: User Profile Service Application – Social Rating Synchronization Job and User Profile Service Application – Social Data Maintenance Job. Read more at SharePoint 2010 Rating Feature…

Read more

Activate a SharePoint Feature on All Site Collections using PowerShell

Ever wanted to enable a feature on all site collections in a SharePoint environment? Well, To activate a site collection feature in SharePoint, navigate to Site settings >> Site Collection Features >> Click on “Activate” next to the relevant feature. How to Activate a Feature using PowerShell? To activate a SharePoint feature…

Read more

How to Create/Delete SharePoint Groups Programmatically with PowerShell?

Requirement: Create or Delete SharePoint User Groups using PowerShell These PowerShell code snippets helps to Create or Delete SharePoint Groups programmatically using PowerShell: Create SharePoint Group using PowerShell: Use this function to create a SharePoint group using PowerShell. Delete SharePoint Group Programmatically with PowerShell: And to delete an existing SharePoint group programmatically,…

Read more

“Internet Explorer cannot display the webpage” on Accessing SharePoint Central Admin

Problem: SharePoint 2010 central administration site stopped working after a reboot and gave “Internet Explorer cannot display the webpage” on trying to access! Troubleshooting: SharePoint central admin page cannot display the webpage error could be caused since Central Administration service is in the disabled state! Let’s troubleshoot by checking Central Administration service…

Read more

PowerShell Scripts to Manage Choice Field in SharePoint

PowerShell is a handy way to perform tedious and repetitive tasks in SharePoint. Say, we want to add or remove a choice value in a specific choice column for number of sites, etc. Here are some nifty PowerShell scripts to manage choice field in SharePoint. How to Add New Choice Field to…

Read more

Apply SharePoint Quota Template Changes to Existing Sites

Problem Scenario:  End-users actively started using their “My Sites” and most of their My sites reached the site collection storage quota limit of 100MB! Gradually started receiving many requests to increase storage limits. Initially, My site web application assigned with a “Personal” quota template which offers 100MB of disk space. After a…

Read more