Apps/Get-LenovoCommercialVantage.ps1

1
2
3
4
5
$URL32 = Get-Version -Uri 'https://support.lenovo.com/gb/en/solutions/hf003321-lenovo-vantage-for-enterprise' -Pattern '.+(https://.+LenovoCommercialVantage_(?:\d+\.)+\d+.+zip)'

$Version = $URL32 | Get-Version

New-NevergreenApp -Name 'Lenovo Commercial Vantage' -Version $Version -Uri $URL32 -Architecture 'x86'