Download SharePoint Documents from CSV File using PowerShell

Requirement: Download files in SharePoint document library from a CSV file to local disk. PowerShell Script to Download Documents from SharePoint : My CSV has “URL” and “FileName” columns in it, and here is the PowerShell to download SharePoint documents from a CSV file to a local disk or network drive. The…

Read more

How to Map a SharePoint Online Document Library as a Network Drive using PowerShell?

Requirement: Map a network drive to a SharePoint Online library. How to map a network drive in SharePoint Online? At times, You may need to manage/upload/download files and folders in bulk using Explorer view, and mapping SharePoint Online document library as a network drive is necessary to manage the SharePoint folder structure…

Read more

Find out Who has Deleted a Site Collection in SharePoint

Requirement: Find out who has deleted a site collection in SharePoint 2016. How to Find Who Deleted a SharePoint Site? Unfortunately, there are no direct ways to find out who deleted a SharePoint site. The PowerShell cmdlet “Get-SPDeletedSite” gets you all deleted site collections, without any hint about the user who deleted…

Read more

How to Make a Subsite Read-Only 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. How to…

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? The idea is: Export all document libraries from SharePoint On-premises to local drive, export metadata of each document to a CSV file, and then import them to SharePoint Online. Before we begin,…

Read more

Add a Notification Message in Top Banner of the SharePoint Site using PowerShell

Requirement: Add a message to top banner area of a SharePoint site collection PowerShell to Add Site Notification Message in SharePoint: After the migration from SharePoint 2013 to SharePoint 2016, we wanted to add a message at the top banner of a migrated site. To Set a notification at the web level,…

Read more

How to Configure Document ID Service Feature in SharePoint Online?

What is Document ID Service in SharePoint Online? The Document ID service in SharePoint Online automatically generates and assigns a unique number to each document which can be used to locate that document anywhere within the site collection. Once the uploaded document gets a unique number, a URL is also formed by…

Read more

How to Create Calendar Overlay in SharePoint Online?

What is Calendar Overlay in SharePoint Online? Calendar overlay is a cool feature in SharePoint that lets you layer the contents of multiple calendars into a single easy-to-read, color-coded calendar view. Use it when you are managing more than one calendar in your SharePoint environment but want to create a consolidated view…

Read more

Add Active Directory Group to SharePoint using PowerShell

Requirement: Add Active Directory Group to SharePoint Group using PowerShell How to Add Active Directory Group to SharePoint? To add AD group to SharePoint, do the following: Navigate to your SharePoint site and click on the Site Settings gear icon >> Select “Site settings” Click on the “People and groups” link under…

Read more