From 48e07a2c6a1fa57576bebe192ac6c013f52ed2fe Mon Sep 17 00:00:00 2001
From: Andreas Lindemark <andreas.lindemark@liu.se>
Date: Mon, 10 Mar 2025 15:55:45 +0100
Subject: [PATCH] Added one more directory to cleanup

---
 Windows/Chocolatey/Remove-Zabbix.ps1 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Windows/Chocolatey/Remove-Zabbix.ps1 b/Windows/Chocolatey/Remove-Zabbix.ps1
index 3aa72cf..c05e2d3 100644
--- a/Windows/Chocolatey/Remove-Zabbix.ps1
+++ b/Windows/Chocolatey/Remove-Zabbix.ps1
@@ -129,6 +129,7 @@ Uninstall-ChocoPackageIfExists -PackageName "zabbix-agent2" -changesMade ([ref]$
 Remove-ZabbixAgentRemnants -AgentName "Zabbix Agent 2" -InstallPath "C:\Program Files\Zabbix Agent 2" -ServiceName "Zabbix Agent 2" -changesMade ([ref]$changesMade)
 
 # Search for Zabbix files in specified paths
+Search-ZabbixFiles -searchPath "C:\ProgramData\chocolatey\.chocolatey" -searchPattern "*zabbix*"
 Search-ZabbixFiles -searchPath "C:\ProgramData\chocolatey" -searchPattern "*zabbix*"
 Search-ZabbixFiles -searchPath "C:\ProgramData\ChocolateyHttpCache" -searchPattern "*zabbix*"
 
-- 
GitLab