Install the PnP PowerShell Module for SharePoint Online

The PnP PowerShell module has become an indispensable tool for many SharePoint administrators and developers. This open-source module, created by Microsoft’s Patterns and Practices (PnP) initiative, provides a robust set of commands for managing SharePoint Online and SharePoint Server through PowerShell. In this post, I will provide an overview of the PnP…

Read more

SharePoint Online: How to Save a Modern Page as Template?

Requirement: Save a page as a template in SharePoint Online. How to Save a Modern Page as a Template in SharePoint Online? Page Templates in SharePoint Online provide great re-usability and save a lot of time. Once you finish customizing a page by adding web parts, content, styles, etc., you can save…

Read more

Office 365: Remove a user from All Security groups using PowerShell

Requirement: Remove a user from all Active Directory security groups in Microsoft 365. How to remove a user account from all Security Groups? Office 365 Security groups are used for managing user access in Office 365, as they allow administrators to quickly and easily grant or revoke access to resources such as…

Read more

PowerShell Function Parameters: A Beginner’s Guide

A cornerstone of any programming or scripting language is the concept of functions – reusable blocks of code that perform a specific task. In PowerShell, a function’s effectiveness is amplified by its use of parameters. These little gateways into the function allow us to control its operation flexibly and dynamically. Function parameters…

Read more

How to Download Files Using PowerShell?

PowerShell is a powerful command-line shell and scripting language that allows you to automate various administrative tasks on Windows. As someone who regularly downloads files, I know how tedious it can be to manually download each file individually. That’s why I’ve turned to PowerShell to automate my file downloads. In this guide,…

Read more

Microsoft 365: PowerShell to Remove a user from All Distribution Groups

Requirement: Remove a user account from all distribution lists in Office 365. How to remove a user from All Distribution Groups? In Office 365, distribution groups are used to send emails to a group of people. This is especially helpful for team projects, announcements, or any other situation where sending emails to…

Read more

How to Send Output to Grid View in PowerShell?

Sending output to a sortable and filterable grid view table is a very useful way to visually analyze and work with results in PowerShell. The Out-GridView cmdlet allows you to pipe any output from a command or script to an interactive grid view window. This enhances data visualization, making it easier to…

Read more

Fix: Rating Settings missing in SharePoint Online

Problem: Rating settings missing in SharePoint Online List or document library. How to Enable Rating Settings in SharePoint Online Lists and Libraries? In communication site document libraries, “Rating Settings” is missing in SharePoint Online. Activating the “Publishing Infrastructure” feature on the site settings page brings the Rating feature to lists and libraries….

Read more

SharePoint Version History: A Comprehensive Guide

SharePoint version history is a powerful feature that allows users to track and manage changes made to documents and list items in a SharePoint library or list. This feature serves as an essential tool for content management, giving team members the ability to view past versions of a file, restore previous versions…

Read more

SharePoint Online: Grant Folder Permissions from a CSV File using PowerShell

Requirement: Set permissions to Multiple Folders from a CSV File in SharePoint Online. PowerShell to Set Folder Permissions in Bulk from a CSV File in SharePoint Online You can Set folder permissions in SharePoint Online document library using the web browser interface or PowerShell. In this article, let’s see how to use…

Read more