Find out Who has Deleted a Site Collection in SharePoint

Requirement: Find out who has deleted a site collection in SharePoint 2016 server. SharePoint Site Collection deletion is a serious matter as it can lead to data loss and business disruption. In some cases, it can happen accidentally by a user with permission or maliciously by a user with access to SharePoint….

Read more

How to Make a Subsite Read-Only in SharePoint using PowerShell?

Requirement: Make a SharePoint Subsite read-only. This method replaces all other permissions applied on the subsite with “Read” and can’t be reverted! Make sure you are proceeding only in scenarios where you don’t need to revert the read-only (E.g. Post migration)! You can take backup of the existing permissions though. If you…

Read more

Migrate SharePoint 2010 Document Libraries to SharePoint Online using PowerShell

Requirement: Migrate Document Libraries from SharePoint 2010 to SharePoint Online. How to Migrate SharePoint 2010 Document Libraries to SharePoint Online? There are several methods that can be used to migrate a document library from SharePoint 2010 to SharePoint Online, including the SharePoint Migration Tool (SPMT), 3rd party Migration tools like ShareGate, etc….

Read more

PowerShell to Update Permissions for Custom Permission Level in SharePoint

Requirement: Update permission level in SharePoint using PowerShell How to Edit a Permission level in SharePoint? If you have ever created a custom permission level in SharePoint, you know that it can be a bit of a pain to set the permissions correctly. This blog post will show you how to update…

Read more

How to Delete the Drop Off Library in SharePoint Server?

Problem:When the content organizer feature is enabled, it creates a “Drop Off Library” document library on your SharePoint site. But disabling the feature does not remove the library! Also, you can’t simply delete “Drop Off Library” because the “Delete this document library” link is not available when you go to “Library Settings”….

Read more

How to Make a SharePoint List or Library to Read Only Mode using PowerShell?

Requirement: Set SharePoint list or document library to read only mode. How to make SharePoint List to Read Only? There is no direct way to set the SharePoint list to read-only! The read-only mode can be set only on SharePoint site collections (How to Make a Site Collection Read-Only) or on content…

Read more

How to Get SharePoint Farm Account Password using PowerShell?

Requirement: Had to take over a SharePoint Farm, and we don’t have the Farm Account Password! We needed the credentials of the SharePoint Farm account. Get SharePoint Farm Account Password: SharePoint farm account user name and password can be retrieved with this little trick: The Central Admin site uses the SharePoint Farm…

Read more

PowerShell to Manage Files Which Have No Checked in Version in SharePoint

Requirement:  PowerShell to Manage files which have no checked in version in SharePoint. How to Manage files which have no checked-in version in SharePoint 2016? When a file is uploaded through explorer view or multiple file upload – without supplying mandatory column values or when you have “Require Check out” option set…

Read more