Fixes to FG Install

This commit is contained in:
jonatanrek committed 2025-02-14 09:28:03 +01:00
1 parent f173df46e4
commit f80333d14b
5 files changed
+16 -5

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
$ProgramName = "FortiClientVPN"
#$ProfileName = "DEMO scloud" # Change to your Profilename!
$ProgramVersion_target = '7.4.0.1658' # Set to version from MSI
$ProgramPath = "C:\Program Files\Fortinet\FortiClient\FortiClient.exe"
$ProgramVersion_current = [System.Diagnostics.FileVersionInfo]::GetVersionInfo($ProgramPath).FileVersion
#$RegPath = "HKLM:\SOFTWARE\Fortinet\FortiClient\Sslvpn\Tunnels\$ProfileName"
#$RegContent = Get-ItemProperty -Path $RegPath
if(($ProgramVersion_current -eq $ProgramVersion_target) <#-and ($RegContent)#>){
Write-Host "Found it!"
}