SharePoint Online: Get a Document Library using PowerShell

Requirement: Get a Document Library in SharePoint Online using PowerShell. SharePoint Online: Get a Document Library using PowerShell When working with PowerShell and SharePoint Online, there may be times when you need to get a document library. There are many ways to interact with SharePoint Online. In this blog post, we’ll look…

Read more

SharePoint Online: Move All Files from One Folder to Another using PowerShell

Requirement: Move All Files Between Folders in SharePoint Online using PowerShell PowerShell to Move All Files from One Folder to Another in SharePoint Online: If you’ve been using SharePoint Online for any length of time, you’re probably familiar with the basic file upload and download process. However, there may be times when…

Read more

SharePoint Online: Delete All Files and Sub-Folders from a Folder Recursively using PowerShell

Requirement: Empty a Folder in the SharePoint Online document library by deleting all its files and Sub-Folders recursively PowerShell to Delete All Files and Sub-Folders from a SharePoint Online Folder While preparing for migration, I had to clear out some old data – So needed to delete files and folders recursively from…

Read more

Fix “You have to delete all the items in this folder before you can delete the folder” Error in SharePoint Online

Problem: When trying to delete a folder that has sub-folders and files, I got an error message “You have to delete all the items in this folder before you can delete the folder” in SharePoint Online or OneDrive. Root Cause: Usually, we don’t need to empty the folder before deleting it. However,…

Read more

SharePoint Online: How to Enable Rating in List using PowerShell?

Requirement: Enable Rating in SharePoint Online List How to Enable Rating in SharePoint Online? Rating feature in SharePoint Online helps to highlight documents and list items. The rating can be enabled in the SharePoint Online list and libraries to let users see and rate items. The rating can be configured as either…

Read more

SharePoint Online: Export User Information List using PowerShell

Requirement: Export User Information List in SharePoint Online User Information List in SharePoint Online stores the information about users. It captures user metadata such as User Picture, Email, DisplayName, LoginName, etc. When we grant permissions to a user, they are added automatically to the hidden User Information list. SharePoint retrieves user-related metadata…

Read more

SharePoint Online: Create Document Set using PowerShell

Requirement: Create a Document Set in SharePoint Online using PowerShell SharePoint Online: Create Document Set using PowerShell While my other post explains how to create a document set in SharePoint Online: Creating Document Set in SharePoint Online – Step by Step, this blog post will show you how to use PowerShell to…

Read more

SharePoint Online: Create a Document Set – Step by Step

What is Document Set in SharePoint Online? As its name indicates, a document set is a set of related documents wrapped inside a special folder that allows multiple documents to be managed together and treated as if they were a single item. In other words, Document Set allows you to group documents…

Read more

Office 365: Find All SharePoint Online Administrators using PowerShell

Requirement: Get All SharePoint Online Administrators of the Office 365 tenant. How to Check If a User is SharePoint Online Administrator in Office 365? If you’re a Microsoft 365 administrator, You may want to find all SharePoint Online Administrators in your organization at times. Perhaps you want to check if a specific…

Read more