SharePoint Online: PowerShell to Bulk Check In All Documents

Requirement: Bulk Check in All Documents in SharePoint Online using PowerShell How to bulk check in documents in SharePoint Online? How to check in multiple documents in SharePoint Online? Well, You can check in either a single file or multiple files in a document library by selecting them and choosing “Check in”…

Read more

SharePoint Online: Configure List Settings using PowerShell

Requirement: Edit List Settings in SharePoint Online using PowerShell How to Change List Settings in SharePoint Online? List settings in SharePoint Online define the attributes of the list such as Name, description, etc., and functionality of the lists. These settings can be configured by navigating to the list settings page. To manage…

Read more

SharePoint Online: PowerShell to Delete a Document Library

Requirement: Delete SharePoint Online Document Library using PowerShell How to delete a document library in SharePoint Online? To delete a document library in SharePoint Online, follow these steps: Login to SharePoint Online, Navigate to the document library Click on Settings >> Library Settings Under Permissions and Management, click on the “Delete this…

Read more

SharePoint Online: Delete Drop Off Library using PowerShell

Requirement: Remove drop off library in SharePoint Online. Site owner activated “Content Organizer” feature in a site which brought “Drop Off  Library” into the SharePoint Online site. Now, when he tried deleting this library by going to library settings, he could not find “Delete this document library” link in the library’s settings!…

Read more

SharePoint Online: Export Permissions of a Site, List, Item using PowerShell

Requirement: Export permissions applied on a particular SharePoint Site, List or List Item to CSV report. PowerShell to Export Permissions of a Site, List, List Item in SharePoint Online: This PowerShell script extracts and exports Immediate (not on any underlying objects) permissions of the given object. E.g. get list permissions. This exports…

Read more

SharePoint Online: Update List Title, Description, Quick Launch Navigation Properties using PowerShell

Requirement: Set Title, Description and Quick Launch Navigation settings in a SharePoint Online List. How to Update List Title, Description and Quick Launch Navigation Settings in SharePoint Online? To set list title, description and quick launch navigation options in SharePoint Online, follow these steps: Navigate to your target list or library. Click…

Read more

SharePoint Online: PowerShell to Iterate Through All Files in a Document Library

Requirement: Get List of Files in a SharePoint Online Document Library using PowerShell SharePoint Online PowerShell to Iterate through All Files in a Document Library: Often in PowerShell scripting, we may have to loop through each file in a SharePoint Online libraries. This PowerShell script iterates through each folder of the library…

Read more

SharePoint Online: PowerShell to Download All Files from a Document Library

Requirement: PowerShell to download all files from a SharePoint Online document library. How to Download a Document Library in SharePoint Online? To download all files from a SharePoint Online document library, Navigate to your SharePoint Online document library >> Select all Files and folders Click on the “Download” button from the toolbar….

Read more

SharePoint Online: Create a Document Library or List with New Experience UI using PowerShell-CSOM

The new list and library experience in SharePoint Online improves the user experience by providing many features such as navigation, fast response, mobile UI, easier to use, etc. You can switch between classic & new experiences anytime. Here is the PowerShell-CSOM script to create a document library in SharePoint online with new…

Read more

SharePoint Online: How to Delete a File from Document Library using PowerShell?

Requirement:  Delete a file from SharePoint Online document library using PowerShell How to Delete a File in SharePoint Online? To delete a single document from a library, do the following: In SharePoint Online site, Navigate to the document library.  Select the File you want to delete and Click on “Delete” button from…

Read more