„tiNGrundpaketServer.txt“ ändern
This commit is contained in:
		| @ -98,7 +98,7 @@ choco install vim -y --cacheLocation="c:\temp" --params "'/NoDesktopShortcuts'" | |||||||
| #Wird erst jetzt ausgeführt da die Installation von Zabbix vorher abgeschlossen sein muss | #Wird erst jetzt ausgeführt da die Installation von Zabbix vorher abgeschlossen sein muss | ||||||
| if(($dInstallZabbix -eq "yes") -or ($dInstallZabbix -eq "")){ | if(($dInstallZabbix -eq "yes") -or ($dInstallZabbix -eq "")){ | ||||||
| 	Write-Host Create Windows Update windowsupdates.bat file for sending data to Zabbix Trapper: | 	Write-Host Create Windows Update windowsupdates.bat file for sending data to Zabbix Trapper: | ||||||
| 	Write-Output "cscript //NoLogo winupdates.vbs $dZabbixHostname | .\zabbix_sender.exe -z $dZabbixServer -i - -c zabbix_agentd.conf" | Out-File -FilePath "C:\Program Files\Zabbix Agent\winupdates.bat" -Append -Encoding ascii | 	Write-Output "cscript //NoLogo `"C:\Program Files\Zabbix Agent\winupdates.vbs`" $dZabbixHostname | `"C:\Program Files\Zabbix Agent\zabbix_sender.exe`" -z $dZabbixServer -i - -c `"C:\Program Files\Zabbix Agent\zabbix_agentd.conf`"" | Out-File -FilePath "C:\Program Files\Zabbix Agent\winupdates.bat" -Encoding ascii | ||||||
| 	Write-Host Copy VBS-Script for Windows Updates: | 	Write-Host Copy VBS-Script for Windows Updates: | ||||||
| 	wget -O "C:\Program Files\Zabbix Agent\winupdates.vbs" $dZabbixWindowsUpdatesVBSUrl | 	wget -O "C:\Program Files\Zabbix Agent\winupdates.vbs" $dZabbixWindowsUpdatesVBSUrl | ||||||
| 	Write-Host Create Task for Windows Updates polling to Zabbix: | 	Write-Host Create Task for Windows Updates polling to Zabbix: | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user