Skip to content
Snippets Groups Projects
Commit 7cfed6c9 authored by Andreas Lindemark's avatar Andreas Lindemark
Browse files

Changed the download path, since I have moved the script.

parent 78780497
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ The scheduled task `CheckAndStartZabbixAgent2` runs the script `C:\Windows\Syste
## If you have trouble with Zabbix Agent, you might have to uninstall, reboot and install Zabbix Agent again. This is a one-liner code to uninstall and reboot:
```powershell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force; $tempPath = [System.IO.Path]::Combine([System.Environment]::GetFolderPath('Desktop')); $script1 = "$tempPath\RemoveZabbix.ps1"; Invoke-WebRequest -Uri "https://gitlab.liu.se/andli86/snippets/-/raw/master/Windows/Chocolatey/RemoveZabbix.ps1" -OutFile $script1; & $script1; Remove-Item -Path $script1 -Force;
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force; $tempPath = [System.IO.Path]::Combine([System.Environment]::GetFolderPath('Desktop')); $script1 = "$tempPath\RemoveZabbix.ps1"; Invoke-WebRequest -Uri "https://gitlab.liu.se/andli86/snippets/-/raw/master/Windows/ZabbixAgent/RemoveZabbix.ps1" -OutFile $script1; & $script1; Remove-Item -Path $script1 -Force;
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment