Azure / Azure/azure-devtestlab

Minimum version check should be 5.0 not 3.0

Open
#781 1 comment 0 reactions 0 assignees View on GitHub
artifacts az.devtestlabs bug
Dominant language
PowerShell
Stars
465
Forks
595
PR merge metrics
No merged PRs in 30d

Description

Line 73 `Test-PowerShellVersion -Version 3.0`

This check is for the PSWindowsUpdate module.

However, on line 76 there is this `Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null`

Line 76 requires Powershell 5 or higher. When I tried to add this artifact to an image with an older version of Windows (e.g. Server 2012 R2), the artifact fails.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.