Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum version check should be 5.0 not 3.0 #781

Open
iamrawgavin opened this issue Jun 21, 2021 · 1 comment
Open

Minimum version check should be 5.0 not 3.0 #781

iamrawgavin opened this issue Jun 21, 2021 · 1 comment

Comments

@iamrawgavin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants