Category Archives for "PowerShell"

How to activate publishing feature in SharePoint 2013/2016 using PowerShell Script

activate publishing feature sharepoint 2013 powershell

This SharePoint 2013 tutorial, we will discuss how to activate publishing feature in SharePoint 2013/2016 using PowerShell. We can also manually activate publishing feature in SharePoint 2013/2016. If you have created any site which is not a publishing site, then you can activate the publishing feature in the team sites or any other sites. Here […]

3 Different ways to Change Site Collection URL in SharePoint 2013/2016 using PowerShell

In this SharePoint administration tutorial, we will discuss 3 different ways to change site collection URL in SharePoint 2013/2016 using PowerShell & STSADM. Few times you may get the requirement to change the site collection URL in SharePoint 2013/2016 using PowerShell. If you are new to PowerShell, you can read an article on Working with […]

Remove-SPOSite Access denied You do not have permission to perform this action or access this resource

POowerShell online Remove-SPOSite Access denied

In this post, we will discuss how we can resolve the below issue which comes when tries to delete a SharePoint online site using PowerShell. I was trying to delete a site collection from SharePoint by using PowerShell. Below is the command which I was using. Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking Connect-SPOService -Url https://onlysharepoint2013-admin.sharepoint.com -credential bijay@onlysharepoint2013.onmicrosoft.com Remove-SPODeletedSite […]

SharePoint 2019 psconfig upgrade freezed at task2

This SharePoint 2019 tutorial, we will discuss how to solve psconfig upgrade freezed at task2 error which comes in SharePoint 2019. Issue: After installing KB4461513 in SharePoint 2019, I have tried to run psconfig upgrade but it got frozen at task2 forever and ever To fix this issue, open two PowerShell command windows with elevated […]

Getting Started with PnP PowerShell – SharePoint 2013/2016/SharePoint Online

sharepoint pnp powershell

Hello Folks, This piece of the article talks about getting started with PnP PowerShell which applies to SharePoint 2013/2016 as well as SharePoint Online to manage the SharePoint environment remotely via PowerShell Scripting as the commands use CSOM. If you take PowerShell which means in simple terms you are going to automate some repetitive admin […]

Excel at SharePoint Online Management Shell

SharePoint Online management shell

Any developer / Admin will land on to SharePoint online management shell to perform any operation. So I would like to bring an easy way to make our day-in- day life easy with the below list of commands. Ensure that you have installed the latest version of SPO Management shell. If you are new to […]

Extend web application in SharePoint 2013 (using PowerShell and Central Administration)

extending web application sharepoint 2013

This SharePoint 2013 tutorial, we will discuss how to extend web application in SharePoint 2013 using PowerShell and using SharePoint 2013 central administration. Why/when should we extend a SharePoint 2013 Web Application? In any SharePoint web application, we could see 2 types of users Internal or External. If we want to collaborate on the SharePoint […]

>