Category: PowerShell

Instantly Export SharePoint user information list to CSV(Excel) file using PowerShell in 2 steps

Export SharePoint user information list to CSV(Excel) file using PowerShell

Loading

In this “Export SharePoint user information list” tutorial, we will learn how we can export the SharePoint user information list to CSV or excel file using the PowerShell script in SharePoint Online/2013/2016/2019. Key Highlights: Export SharePoint user information list How to export the user information list in SharePoint 2013/2016/2019 using the PowerShell script. How to

Continue reading

Instantly Fixed: Server relative urls must start with SPWeb.ServerRelativeUrl”in reading web part properties! – SharePoint Online (Microsoft 365)

[Fixed] Server relative urls must start with SPWeb.ServerRelativeUrl"in reading web part properties!

Loading

Server relative URLs must start with SPWeb.ServerRelativeUrl” in reading web part properties! – Recently I was working on, to the get web part properties details from the SharePoint site page using the PowerShell CSOM, then I got this error “Exception calling “ExecuteQuery” with “0” argument(s): “Server relative URLs must start with SPWeb.ServerRelativeUrl” in reading web

Continue reading

2 proven ways get all webparts from pages in a site using PowerShell in SharePoint Online

[Verified] Get all webpart properties from SharePoint Online site page using the PowerShell script

Loading

In this “Get all webparts” tutorial, I will share how we can get all web parts from pages in a site using PowerShell CSOM and get web part properties using PnP PowerShell. Key Highlights: Get all webparts from pages in a site using PowerShell in SharePoint Online Get all web parts from pages in a

Continue reading

Instantly get SharePoint document library inventory report using PowerShell script in 2 steps

Get document library inventory report in SharePoint using PowerShell script

Loading

In this “SharePoint document library inventory report ” article, I will share how we can get a document library inventory report in SharePoint using the PowerShell script and export this report into a CSV file. This script will scan through all document libraries in a site collection and generate the list item details report in

Continue reading

[Solved]: “The term ‘Get-SPWeb’ is not recognized as the name of a cmdlet, function” PowerShell error

[Solved] Fix the "The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function" PowerShell error

Loading

In this “The term ‘Get-SPWeb’ is not recognized” troubleshooting article, I will share how to fix the “The term ‘Get-SPWeb’ is not recognized as the name of a cmdlet, function” PowerShell error. Many times, we may notice even though we pass the correct URL to the Get-SPWeb command as an Identity parameter, still, we could

Continue reading

Instantly start workflow in SharePoint: How to start SharePoint list workflow using PowerShell in just 2 step

How to start SharePoint list workflow using PowerShell automatically?

Loading

In this “start workflow in SharePoint” blog, we will learn how to start the SharePoint list workflow using PowerShell script. Many times, due to business reasons or technical problems we might need to start the SharePoint list workflow programmatically for all the list items. Key Highlights: Start workflow in SharePoint using PowerShell How to start

Continue reading

In 2 steps convert classic SharePoint page to modern using PnP

convert classic SharePoint page to modern, in 2 steps convert a classic SharePoint page to modern using PnP

Loading

In this article, we will learn how to convert classic SharePoint page to modern pages using the PnP Power Shell script. We as SharePoint professionals have long used the SharePoint classic page in both SharePoint on-premise and SharePoint online (classic). But recently, in the last couple of years, Microsoft has been focusing on converting classic

Continue reading

2 Best way to retrieve hub site in SharePoint online: Retrieve hub sites and associated sites using PnP Powershell

[Verified] Office 365: Retrieve hub sites and associated sites using PnP Powershell

Loading

In this “Retrieve hub site in SharePoint Online” article, we will learn how to retrieve hub sites and associated sites using PnP Powershell and Office 365 admin center URL or SharePoint admin center URL. PnP PowerShell script to get all sites connected to a hub site: Hub site in SharePoint online (PowerShell Get sites associated

Continue reading

Best way to Install PnP PowerShell SharePoint Online: Getting started with SharePoint PnP PowerShell – Microsoft 365

Office 365: Getting started with SharePoint PnP PowerShell - installation

Loading

In this “Install PnP PowerShell SharePoint Online” tutorial, we will learn how to install PnP PowerShell in SharePoint Online. PnP PowerShell overview: Get started with SharePoint PnP PowerShell The SharePoint Patterns and Practices – short name PnP is a collection library that contains an array of PowerShell commands – named PnP PowerShell which allows us(SharePoint

Continue reading

Safely delete all files in document library PowerShell: Delete All Files from document library for the given date – Office 365

SharePoint Online: Delete All Files from document library for the given date - PowerShell CSOM

Loading

In this delete all files in document library PowerShell script, we will learn about how we can delete all files from all document libraries in SharePoint online sites from a given date by passing From date and To date. Delete all files in document library PowerShell (delete files in sharepoint): use cases The PowerShell script

Continue reading