Loading...

Azure DevOps | YAML | Could not load type ‘System.Management.Automation.PSSnapIn’

Image
I got the following exception while executing a PowerShell script in my Azure DevOps pipeline step. Reason: I used following ‘pwsh‘ task in my YAML file to execute the PowerShell script. For unversed, pwsh is the cross-platform edition of PowerShell built on .NET Core / .NET 5+; by contrast, powershell is the executable name of the […]
Learn more
Author image

Rajeev Pentyala – Microsoft Power Platform

Sharing my knowledge on Power Platform, Dynamics 365, Azure & .Net Stack

Share post:

Related

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!

* Yes, I agree to the privacy policy