Get SharePoint Library Size with PowerShell

SharePoint 2010 document library sizes can be easily retrieved via Storage metrics: Site Actions >> Site Settings >> Storage Metrics if you have SP1 installed. You can get SharePoint library size, ONLY when you have Quotas applied to the site collection. Otherwise, you get “The storage space allocation page cannot be used…

Read more

Customized Master Pages Report for All SharePoint Sites

Today, wanted to audit customized Master pages which are deviating from our corporate Branding in my Team Sites environment. Generated the report for customized master pages with help of PowerShell. If you want to use it in MOSS 2007, use these two lines of code to get a specific web application: Here…

Read more

SharePoint 2010 Permission Report: Check Access Rights for a Specific User

Update: This script has been updated to scan Folders and List Items with Claims support at: SharePoint User Permission Analysis & Reporting using PowerShell Requirement: To ensure security, generate permissions report on all locations like (sites, lists, etc.) where a specific user has permissions. When people moving from one role to another,…

Read more

Activate button Disabled in SharePoint Sandboxed Solutions

Developers reported an issue in a New SharePoint 2010 Environment: When they try to activate sandboxed solutions “Activate” button is disabled (greyed out)! This is because: By default, sandboxed solutions are disabled in SharePoint. Confirmed, SharePoint 2010 activate sandbox solution disabled. Confirmed user has enough permissions (User needs to be a site…

Read more

Change Site Collection Primary, Secondary Administrators in SharePoint

Site collection administrators have god-like power within a SharePoint site collection, They can add/delete sites, content, users, etc for any site within a site collection. These administrators are responsible for administering their site collection and are recipients of any site status and resourcing Email notifications. How to change the site collection administrator…

Read more

The terminal server has exceeded the maximum number of allowed connections – Solution

When trying to take a Remote desktop on Windows Servers, got the error message “The terminal server has exceeded the maximum number of allowed connections”. Root Cause:  This is because Windows 2003 Server supports only two active RDP connections. When you try as a third, you may experience this issue. Ideally, the…

Read more