Closed pim-simons closed 7 months ago
Name | Link |
---|---|
Latest commit | d25d1f67fdf740e4c646b62c89dc32f2fba862ca |
Latest deploy log | https://app.netlify.com/sites/arcus-scripting/deploys/655c5ffd073cc500082aabf4 |
Strange that we need this, is this a breaking change on the DevOps machine?
Indeed strange, since earlier this week we are getting this error:
Test-Path: /home/vsts/work/_temp/459fcf8a-2715-48a9-9f20-a0cb1acad4bc.ps1:4 Line | 4 | if (!(Test-Path -LiteralPath variable:LASTEXITCODE)) { |
~~~~~ | The 'Test-Path' command was found in the module | 'Microsoft.PowerShell.Management', but the module could not be loaded. | For more information, run 'Import-Module | Microsoft.PowerShell.Management'.
Haven't changed anything in the pipelines, but this PR should fix it 👍🏻
Add
Import-Module Microsoft.PowerShell.Management -Force
to fix the linux powershell update task in the pipeline.