Skip to content

Commit

Permalink
hard type
Browse files Browse the repository at this point in the history
  • Loading branch information
MKletz authored Jan 5, 2024
1 parent db49e0d commit 5af34e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/powershell_dsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ansible.windows.win_powershell:
script: |
$nuget_version = (Get-PackageProvider -Name NuGet -ListAvailable).version
$nuget_target_version = '2.8.5.201'
$nuget_target_version = [Version]::new('2.8.5.201')
if( $nuget_version -lt $nuget_target_version ){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-PackageProvider -Name NuGet -MinimumVersion $nuget_target_version -Force
Expand Down

0 comments on commit 5af34e6

Please sign in to comment.