SharePoint Online: Delete Unique Permissions in a Subsite using PowerShell

Requirement: Delete Unique Permissions of a Subsite in SharePoint Online using PowerShell How to Remove Unique Permissions of a SharePoint Online Site? Removing unique permissions and restoring permission inheritance for a subsite allows its security to be managed at the parent site level, instead of managing the security separately from that subsite….

Read more

SharePoint Online: PowerShell to List All Files Inventory in a Document Library

Requirement: List All Documents in a SharePoint Online Document Library using PowerShell. SharePoint Online: PowerShell to Get List of Files in Document Library Here is the SharePoint Online PowerShell to list all documents: This PowerShell gets a list of files in a SharePoint Online document library. PowerShell to List All Documents in…

Read more

SharePoint Online: PowerShell to a Get List

Requirement: Get a list in SharePoint Online using PowerShell PowerShell to Get a SharePoint Online List Let’s get a list in SharePoint Online and count items in a list using PowerShell: SharePoint Online Get List using PowerShell Similarly, you can get all lists from a SharePoint Online site as: PnP PowerShell to…

Read more

SharePoint Online: PowerShell to Disable Versioning

Requirement: Disable Versioning in SharePoint Online using PowerShell How to Disable Versioning in SharePoint Online? The versioning feature in SharePoint Online creates a copy of items when someone changes a document so that we can track every change to the document and revert to the old version if needed. Although it’s a…

Read more

SharePoint Online: Get Subsites using PowerShell

Requirement: Get a subsite using PowerShell in SharePoint Online Get a Subsite using PowerShell in SharePoint Online As there is no PowerShell cmdlet to retrieve SharePoint Online subsite, Here is how to get a subsite (spweb) from PowerShell in SharePoint Online: This is equivalent to Get-SPWeb cmdlet in SharePoint On-premises PowerShell. SharePoint…

Read more

SharePoint Online: Get Site Properties using PowerShell

Requirement: Get site properties in SharePoint Online using PowerShell SharePoint Online: PowerShell to Get Site Properties You can get SharePoint Online site properties using SharePoint Management Shell.  This PowerShell gets all properties of the site SharePoint Online: PowerShell to Get Web Properties Say, you want to get the last modified date of…

Read more

SharePoint Online: Create Multiple Document Libraries using PowerShell

Requirement: Create multiple document libraries in SharePoint Online using PowerShell. PowerShell to Create Multiple Document Libraries in SharePoint Online How to create multiple document libraries in SharePoint Online? Well, We can create multiple document libraries just by wrapping the script into a re-usable function and call the function with an array of…

Read more

New-PSSession : [outlook.office365.com] Connecting to remote server outlook.office365.com failed with the following error message: The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again

Problem: When trying to connect to Exchange Online through PowerShell, Got the error message: “New-PSSession : [outlook.office365.com] Connecting to remote server outlook.office365.com failed with the following error message : The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the…

Read more

SharePoint Online: How to Change Task List UI to Modern Experience?

Problem: Although the tenant level Settings for SharePoint Online list and libraries are set to New experience, task lists are created with Classic experience by default. How to Change SharePoint Online Task List to Modern Experience? Task lists in SharePoint Online are created with Classic experience by default. To change its UI…

Read more