Aaron Parker

Results 174 comments of Aaron Parker

Examples: Convert a version number string and return the .NET Version class representation ```powershell ConvertTo-DotNetVersionClass -Version "jdk-11.0.23+9" | fl Major : 1070107 Minor : 11 Build : 0 Revision :...

Convert a version number string which fails to convert to the .NET Version class representation, so return as a string: ```powershell ConvertTo-DotNetVersionClass -Version "v22-build1" WARNING: Failed to convert version string...

Find the latest version of `AdoptiumTemurin22` and convert the version number: ```powershell Get-EvergreenApp -Name AdoptiumTemurin22 | Where-Object { $_.ImageType -eq "jre" } | ConvertTo-DotNetVersionClass Major Minor Build Revision ----- -----...

Find the latest version of `AdoptiumTemurin22` and construct an object that includes the converted version number: ```powershell Get-EvergreenApp -Name AdoptiumTemurin22 | ForEach-Object { [PSCustomObject]@{ Version = ConvertTo-DotNetVersionClass -Version $_.Version ImageType...

The API is currently being abused (in the range of 300,000-400,000 requests per day) by some type of script, so I've blocked the default PowerShell user agent to prevent the...

The update source Evergreen is using is: `https://egnyte-cdn.egnyte.com/egnytedrive/win/en-us/subscribe`. The URL for the latest versions must have changed. If you use Egnyte, use Fiddler to see what's it's doing when looking...

You should be able to use a UNC path with `Save-VcRedist`, e.g.: ```powershell Save-VcRedist -Path \\server\share\vcredist ```

``` $VcRedists = Get-VcList -Architecture x64 | Save-VcRedist -Path \\server\share Install-VcRedist -VcList $VcRedists ```

No, `Save-VcRedist` won't redownload the file if it's already in the share, but it updates the output from `Get-VcList` with the path to each installer.

Working OK here: ![image](https://github.com/user-attachments/assets/b3bbd7fc-a15e-469d-b4ca-0cd03b3d7192)