Category: PowerShell

Convert classic team site to communication site in SharePoint Online

Convert classic team site to communication site in SharePoint Online

 1,680 total views,  142 views today

 1,680 total views,  142 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

 797 total views,  38 views today

 797 total views,  38 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?

 1,085 total views,  12 views today

 1,085 total views,  12 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?

 1,939 total views,  42 views today

 1,939 total views,  42 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

 6,888 total views,  62 views today

 6,888 total views,  62 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!

 6,253 total views,  56 views today

 6,253 total views,  56 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

 5,397 total views,  62 views today

 5,397 total views,  62 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

 11,538 total views,  190 views today

 11,538 total views,  190 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

 13,098 total views,  146 views today

 13,098 total views,  146 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?

 3,202 total views,  24 views today

 3,202 total views,  24 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