1
0

„tiNGrundpaketServer.txt“ ändern

This commit is contained in:
Marius Widmann
2019-11-19 18:24:04 +01:00
parent 9f84cba620
commit b1fec9234e

View File

@ -30,7 +30,7 @@ New-Item -ErrorAction Ignore -Path "C:\" -Name "temp" -ItemType "directory"`
#--------------Install Zabbix Agent (if wanted)------------------------------
if(($dInstallZabbix -eq "yes") -or ($dInstallZabbix -eq "")){
wget $dZabbixAgentDownloadUrlMsi -OutFile "C:\temp\zabbix_agent_setup.msi"
wget -O $dZabbixAgentDownloadUrlMsi "C:\temp\zabbix_agent_setup.msi"
msiexec /l*v "C:\temp\zabbix_installation_log.txt" /i "C:\temp\zabbix_agent_setup.msi" /norestart /qn SERVER="$dZabbixServer" HOSTNAME="$dZabbixHostname" TLSCONNECT=psk TLSACCEPT=psk TLSPSKIDENTITY="$dHostname" TLSPSKVALUE="$dZabbixPSK" ENABLEREMOTECOMMANDS=1
}