Created
July 26, 2023 17:51
-
-
Save jessewolcott/d5dff8d6f4ad08eca5c2e72837596822 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Version = [System.Version](Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{066E438B-355E-4A79-B1C2-2D1C71CF000C}" -ErrorAction SilentlyContinue).displayVersion | |
If ($null -ne $Version){ | |
$ProgramVersion_target = [System.Version]'8.0.0.65' | |
if($Version -ge $ProgramVersion_target){ | |
Write-Host "Found it!" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
public