diff --git a/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 b/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 index 6ba581d68b68c633326e676c0e962a51dce34bc4..eead0e032d8c98c5db584738b940dd74be747c28 100644 --- a/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 +++ b/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 @@ -2,7 +2,7 @@ $domainName = (Get-CimInstance -ClassName Win32_ComputerSystem).Domain # Path to the custom configuration file on SYSVOL using the dynamic domain name -$customConfigPath = "\\$domainName\SYSVOL\$domainName\scripts\zabbix_agent2.conf" +$customConfigPath = "\\$domainName\SYSVOL\$domainName\Configs\zabbix_agent2.conf" # Path to the Zabbix Agent 2 configuration file $agentConfigPath = "C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf"