Add and Remove Operation of Content Types in SharePoint Site Using PnP PowerShell.

In this blog, we will see how we can add a custom content type in SharePoint site using PnP PowerShell. Also, we will see how we can get a particular content type and remove it from the SharePoint site using PnP PowerShell. Add Custom Content Type in SharePoint site: – The following command snippet will help you to create the new content type in SharePoint site. Also, the parent content type can be used as a base content type to create the

Continue Reading

Add, Remove and Get all webparts from modern site page using PnP PowerShell

In this blog, we are going to retrieve all webparts present in a modern site page. Also, we will see how to add different web parts and delete web part from modern site page using PnP PowerShell. 1. First We Need to Connect to Site. To Perform Connection Add 2. Add different webparts. To add a text editor web part To add a list view web part You can see two web parts added successfully in modern site page. 3.

Continue Reading

Add And Remove Operation Of Custom Action In SharePoint Site Using PnP PowerShell

In this blog, we will see how we can add a custom action in SharePoint site using PnP PowerShell. Also, we will see how we can get particular custom action and remove it from SharePoint site using PnP PowerShell. Add Custom Action:- In the following example, I have added a personal action menu in my SharePoint site. Get Particular Custom action and remove it from site:- You can get all user custom action present under site using following script:               

Continue Reading

MFA (Multi Factor Authentication) Authentication using PowerShell in SharePoint online

Now a day’s authentication is the most important factor in cloud environment. Many of the organizations are utilizing SharePoint Online as their Content Management System, it is basic that the delicate information does not slip into false hands. Therefore, Multi-Factor Authentication for Office 365 becomes possibly the most important factor. Multi-factor authentication, is a two-step process. In addition to passwords, users are expected to acknowledge a phone call/ text message to complete the verification process. One can enable Multi-Factor Authentication

Continue Reading

Add and Remove Custom Action Using PnP PowerShell

In this blog article, I am going to add and remove custom action using PnP PowerShell. Adding a custom action to the SharePoint site: The Add-PnPCustomAction command is used to add a user custom action to a web or site collection. Example: This example adds a new custom action to the Site Settings, and sets the Title, Name and other fields with the specified values. Add-PnPCustomAction -Name ‘Item Search’ -Title ‘Item Search’ -Description ‘Adds custom action to SiteSettings’ -Group ‘SiteAdministration’ -Location ‘Microsoft.SharePoint.SiteSettings’

Continue Reading

Add And Manipulate Modern SharePoint Page Using PnP PowerShell

In this blog, we will look at the steps to add and manipulate Modern SharePoint page using PnP PowerShell. Adding a Modern page to the SharePoint site The Add-PnPClientSidePage command is used to add a modern page to the SharePoint site. Add-PnPClientSidePage -Name “NewPage” Output By default, Add-PnPClientSidePage creates an Article layout type. To create the Home layout type, we have to pass “Home” as a “LayoutType” parameter. Add-PnPClientSidePage -Name “NewPage” -LayoutType Home Output Set the Modern page Property The Set-PnPClientSidePage command is used to update the

Continue Reading

Site Footer