Update App Install or Upgrade Scripts/App - VMware Tools - Install or Upgrade.ps1
This commit is contained in:
@@ -55,7 +55,7 @@ If ($osInfo.ProductType -ne "1") {
|
|||||||
$length = 6
|
$length = 6
|
||||||
$LocalVersion = $string.Substring($start, [Math]::Min(($string.Length - $start), $length))
|
$LocalVersion = $string.Substring($start, [Math]::Min(($string.Length - $start), $length))
|
||||||
|
|
||||||
If ($LocalVersion -lt $OnlineVersion) {
|
If ([version]$Local_Version -lt [version]$Online_Version) {
|
||||||
Test-Probe_Online
|
Test-Probe_Online
|
||||||
Install-App
|
Install-App
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user