diff --git a/Install-ZabbixAgent.ps1 b/Install-ZabbixAgent.ps1 index 1c6dda6..df99ec7 100644 --- a/Install-ZabbixAgent.ps1 +++ b/Install-ZabbixAgent.ps1 @@ -6,8 +6,8 @@ Start-Transcript -Path "c:\irnh\Install-ZabbixAgent.log" -Append $InstallFolder = "C:\Program Files\Zabbix Agent" $InstallerLog = "C:\irnh\Installer-ZabbixAgent.log" -$SoftwareDeployLocation = "\\technolog.net\sysvol\technolog.net\SoftwareDeploy\zabbix_agent-7.0.9-windows-amd64-openssl.msi" -$SDZabbixVersion = "7.0.9" +$SDZabbixVersion = "7.0.19" # Modify with latest version of zabbix agent in share below +$SoftwareDeployLocation = "\\technolog.net\sysvol\technolog.net\SoftwareDeploy\zabbix_agent-$SDZabbixVersion-windows-amd64-openssl.msi" $ZabbixVersionInstalled = (Get-WmiObject -Class Win32_Product | where name -like "Zabbix*" | select Name, Version).Version # Zabbix settings