Category: PowerShell

Convert classic team site to communication site in SharePoint Online

Convert classic team site to communication site in SharePoint Online

 18,710 total views,  114 views today

 18,710 total views,  114 views today In this tutorial, we will learn how to convert a classic team site to a communication site in SharePoint online using the PowerShell script and PnP PowerShell. Before that, we will recap about what is communication site and classic team site in SharePoint Online. Key-Highlights What is a communication site in

Continue reading

Download file from HTTP request using PowerShell

Download file from HTTP request using PowerShell

 8,774 total views,  44 views today

 8,774 total views,  44 views today Many times, due to the business requirement we might need to download a file from an external link through the HTTP or HTTPS API call. In this blog, we will learn about how to download a file from an HTTP request using PowerShell script. Before getting into the script we must

Continue reading

Office 365: Create content type in SharePoint Online using PnP PowerShell

Office 365 - How to create content type in SharePoint Online using PowerShell?

 3,854 total views,  28 views today

 3,854 total views,  28 views today In this tutorial, we will learn about how to create a content type in SharePoint Online using PnP PowerShell. Key-Highlights What is the content type in SharePoint Online? What is the use of a content type in SharePoint Online? How to create a content type in SharePoint Online using PowerShell? Verify

Continue reading

Office 365: How to create document library in SharePoint Online using PowerShell?

 6,084 total views,  18 views today

 6,084 total views,  18 views today In this tutorial, we will learn about how to create a document library in SharePoint Online using PowerShell script and PnP PowerShell. Key-Highlights: What is the document library in SharePoint? When to use the document library in SharePoint Online? How to create a document library in SharePoint Online using PowerShell script?

Continue reading

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

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

 16,085 total views,  32 views today

 16,085 total views,  32 views today In this 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 How to export the user information list in SharePoint 2013/2016/2019 using the PowerShell script. How to export the user information list SharePoint

Continue reading

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

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

 15,090 total views,  18 views today

 15,090 total views,  18 views today 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 part properties!:“. In this, SharePoint troubleshooting I will share

Continue reading

[Verified] 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

 11,656 total views,  70 views today

 11,656 total views,  70 views today In this 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 web parts from pages in a site using PowerShell CSOM and get web part properties using Powershell Retrieve

Continue reading

Get document library inventory report in SharePoint using PowerShell script

Get document library inventory report in SharePoint using PowerShell script

 23,431 total views,  72 views today

 23,431 total views,  72 views today In this blog, 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 documents libraries in a site collection and generate the list item details report in a CSV

Continue reading

[Solved] Fix the “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

 28,017 total views,  62 views today

 28,017 total views,  62 views today In this troubleshooting, 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 see the error

Continue reading

How to start SharePoint list workflow using PowerShell

How to start SharePoint list workflow using PowerShell automatically?

 5,711 total views,  14 views today

 5,711 total views,  14 views today In this blog, we will learn how to start the SharePoint list workflow using PowerShell script. Many times, due to the business reasons or technical problems we might need to start the SharePoint list workflow programmatically for all the list items. Key Highlights How to start the SharePoint list workflow using

Continue reading