SharePoint Online: Delete Alerts using PowerShell

Requirement: Delete Alerts in SharePoint Online How to Delete Alerts in SharePoint Online? How to turn off alert notifications in SharePoint Online? Well, To delete an alert from SharePoint Online, follow these steps: Login to SharePoint Online >> Navigate to the Site Settings page. Under the “Site Administration” section, click on the…

Read more

SharePoint Online: Find Site Column Usage in Lists and Libraries using PowerShell

Requirement: Find a Site Column usage in SharePoint Online Site Collection SharePoint Online: PowerShell to Get a Site Column’s usage in lists and libraries of a Site Collection: This script gets a particular site column’s usage in lists and libraries and prints the finding as below:

Read more

SharePoint Online: Create Alerts using PowerShell CSOM

Requirement: Create SharePoint Alert using PowerShell How to Create Alerts in SharePoint Online? Alerts in SharePoint Online helps to track changes such as addition/changes/delete to the content E.g. Lists and libraries, pages, etc. To create an Alert for a SharePoint Online document library, follow these steps: Go to your SharePoint Online site,…

Read more

SharePoint Online: Export Document Library Metadata to Excel

Requirement: Export SharePoint Online Document Library Metadata to a CSV file. Export Document Library Metadata to CSV using PowerShell: To export a document library’s metadata into Excel, You can use: “Export to Excel” button on any SharePoint Online library. However, this functionality doesn’t give you details such as: Number of Versions, Filesize,…

Read more

SharePoint Online: Remove User or Group from Folder Permissions using PowerShell

Requirement: Remove user from folder permissions in SharePoint Online. How to Remove user from folder permissions in SharePoint Online? How to restrict access to folder in SharePoint Online? To remove a user or group from SharePoint Online Folder’s permissions, follow these steps: Navigate to your SharePoint Online list or library where the…

Read more

How to Create OneDrive for Business Site Collections using PowerShell?

Requirement: Pre-Create OneDrive for Business Sites using PowerShell. OneDrive for Business is Microsoft’s cloud-based storage solution that lets users store and work on files that are personal to them. It’s similar to a SharePoint Online document library with full control granted to users so that they can add, update, and delete files…

Read more

SharePoint Online: Remove List from Search using PowerShell

By default, all SharePoint Online lists and libraries appear in search results. There are some cases you want to remove a particular list’s contents from appearing in search results. Say e.g. You want to hide images library’s content from appearing in search results. How to Remove a list from SharePoint Online Search?…

Read more

SharePoint Online: Read / Update Person or Group Field (People Picker) Values using PowerShell

Requirement: Get or Set “Person or Group” Field Values in SharePoint Online using PowerShell. Person or Group field provides searchable list of people and groups when they add or edit an item. It acts like a auto complete field when you type the first 4 character of the user names. Here is…

Read more

SharePoint Online: How to Disable Microsoft Flow (Power Automate) in Lists and Libraries?

Requirement: Disable flow in SharePoint Online. Microsoft Flow is a great tool to automate business processes by building workflows. In some cases, to take control over customization, You may want to disable Flows by hiding the “Flow” button in modern lists and libraries in SharePoint Online. How to Disable Flow in SharePoint…

Read more

Create Search Service Application in SharePoint 2016 Multi-Server Farm using PowerShell

The Search Service Application in SharePoint provides a search functionality, as its name implies. We have to use PowerShell scripts to configure search service application from SharePoint 2013 onwards as there is no user interface to configure the Search topology from SharePoint Central Admin – although we can create a new search…

Read more