Category: PowerShell

[Fixed]: Restore the timer service in SharePoint Server using PowerShell script

Restore the Timer Service in SharePoint server using PowerShell in SharePoint 2016

Loading

Restore the timer service in SharePoint Server – as we know SharePoint timer job is commissioned in all servers connected to the SharePoint farm. If we go to the monitoring from the central administration site, there we could see due to some reasons for some of the servers, the timer job instances are not running

Continue reading

[Fixed]: Remove-MsolServicePrincipalCredential : Access Denied. You do not have permissions to call this cmdlet.

Remove-MsolServicePrincipalCredential - Access Denied. You do not have permissions to call this cmdlet

Loading

The “Remove-MsolServicePrincipalCredential : Access Denied” error – when we try to connect to and run the Connect-MsolService command in the Microsoft Azure Active Directory Module for Windows PowerShell to connect to a Microsoft cloud service such as Office 365, Microsoft Azure, or Microsoft Intune, this will not be successful.  And you might receive this error

Continue reading

[Fixed]: The term ‘Get-MsolServicePrincipal’ is not recognized as the name of a cmdlet, function, script file,

[Fixed] - The term 'Get-MsolServicePrincipal' is not recognized as the name of a cmdlet, function, script file – PowerShell Error

Loading

The ‘Get-MsolServicePrincipal’ is not recognized – when we run the ‘Get-MsolServicePrincipal’ command in Windows PowerShell console we will get the error “Get-MsolServicePrincipal : The term ‘Get-MsolServicePrincipal’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that

Continue reading

SharePoint Recycle Bin: Quickly delete recycle bin items in SharePoint using PowerShell

SharePoint Recycle Bin, how to remove recycle bin items in SharePoint using PowerShell?

Loading

In this delete recycle bin using the SharePoint PowerShell tutorial, we will learn about how to delete items from the recycle bin in SharePoint using the PowerShell script. By the way, there are two types of recycle bins in SharePoint: user-level recycle bins (first-stage recycle bins) and admin-level recycle bins (second-stage recycle bins). What is

Continue reading

SharePoint Workflow: Quickly cancel SharePoint workflows using PowerShell

SharePoint Workflow, how to cancel SharePoint workflows using PowerShell?

Loading

In this SharePoint Workflow tutorial, we will learn about how to cancel SharePoint workflows using the PowerShell script. Business Scenario: SharePoint Workflow Your farm has lots of sites and each site has lots of list workflows, there could be scenarios where we could see there are many workflow instances that are in a running state

Continue reading

Quickly change site URL in SharePoint Online using PowerShell

How to change site URL in SharePoint online?

Loading

Want to change site URL in SharePoint online? Previously, when we worked in SharePoint on-premise, it was nearly impossible to consider changing the site URL after it was created; we used to say we could rename the site title but not the site URL. These days, SharePoint has gone through lots of revolutionary changes, and

Continue reading

Site collection scoped app catalog – Deploy SPFx solution in SharePoint online site collection scope only

Deploy SPFx solution in SharePoint online site collection scope only

Loading

How to deploy SPFx solution in SharePoint online (site collection scoped app catalog) – as far as SharePoint is concerned, there are many hidden URLs, features are available both in SharePoint on pre-mise as well as SharePoint Online those actually will be hidden from the users – generally Power User access those hidden link by

Continue reading

Download file from HTTP request using PowerShell

Download file from HTTP request using PowerShell

Loading

Download file from HTTP request – 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 a PowerShell script. Before getting into the

Continue reading

Create content type in SharePoint Online using PnP PowerShell

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

Loading

In this “Create content type in SharePoint Online” tutorial, we will learn about how to create a content type in SharePoint Online using PnP PowerShell. Key-Highlights: Create content type in SharePoint Online What is the content type in SharePoint Online? What is the use of a content type in SharePoint Online? How to create a

Continue reading

How to create document library in SharePoint Online using PowerShell?

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

Loading

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

Continue reading