Created
January 4, 2021 15:12
-
-
Save tsleite/56c27dea8babce9cad239a79a3fb70d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SO: Windows Server 2012, 2012R2, 2016, 2019 | |
# Parando o serviço | |
c:\zabbix\bin\zabbix_agentd.exe --stop | |
Write-Host zabbix_agentd has been stopped | |
# Desinstalando o serviço | |
c:\zabbix\zabbix_agentd.exe --uninstall | |
Write-Host zabbix_agentd foi desinstalado. | |
# Remove/Limpa diretório Zabbix | |
Remove-Item c:\zabbix -Force -Recurse | |
# Remove/Limpa diretório c:\zabbix\log\ | |
Remove-Item c:\zabbix_agentd.log | |
# Remove/Limpa regra do Firewall. | |
Remove-NetFirewallRule -DisplayName "Allow Zabbix communication" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment