SharePoint Online: Add Bulk Users and Groups using PowerShell

Requirement: Add multiple users and Groups to SharePoint Online sites in bulk. How to Create Multiple Groups and Users in SharePoint Online? I had to create several SharePoint User Groups and add users to those groups on different sites. In this blog post, let’s take a look at how to add multiple…

Read more

How to 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

How to add HTML code in SharePoint Online Modern Page?

Requirement: Display HTML page in SharePoint Online. Add HTML code to SharePoint Online Page In classic pages, You can add HTML code to the SharePoint Online page using either the content editor web part or the script editor web part (or using Embed code). However, in Modern SharePoint Online pages, both web…

Read more

How to Add Google Maps to SharePoint Online?

Requirement: Add Google Maps to SharePoint Online Modern Page. Display Google Maps in SharePoint Online Adding a Google Map to SharePoint Online is a great way to display geographical information directly on your SharePoint pages and sites. It can be used to pinpoint exact locations, such as a business address, customer location,…

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