# Icinga for windows - Cleanup Servicecheck cache

**URL:** <https://community.icinga.com/t/icinga-for-windows-cleanup-servicecheck-cache/15581>\
**Category:** Icinga 2\
**Tags:** icinga-for-windows\
**Created:** [September 15, 2026, 2:49pm UTC](https://community.icinga.com/t/icinga-for-windows-cleanup-servicecheck-cache/15581 "2026-09-15T14:49:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zkoooo](https://community.icinga.com/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@zkoooo](https://community.icinga.com/u/zkoooo)\
**Post date:** [September 15, 2026, 2:49pm UTC](https://community.icinga.com/t/icinga-for-windows-cleanup-servicecheck-cache/15581/1 "2026-09-15T14:49:14Z")

</div>

Hi Together!

is there any own Icinga-commadlet to cleanup the servicecheck cache?

Path: C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\service\_check\_cache

1.14.2 icinga-powershell-framework

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [September 15, 2026, 2:58pm UTC](https://community.icinga.com/t/icinga-for-windows-cleanup-servicecheck-cache/15581/2 "2026-09-15T14:58:19Z")

</div>

did you try this in powershell:

> icinga { Write-IcingaConsoleError ‘Hello from Icinga’ } -RebuildCache

> **[Rebuilding Framework Cache - Testing of Commands - Icinga for Windows](https://icinga.com/docs/icinga-for-windows/latest/doc/900-Developer-Guide/52-Testing-of-Commands/#rebuilding-framework-cache)**
>
> Actively developing new code for the Framework will result in core files to be changed or new functionality added. To load the Framework we use in general icinga -Shell, which does how ever not cover changes we made afterwards. To keep track of the...

Maybe that cleans this up too

---

<div class="post-metadata">

**Author:** ![zkoooo](https://community.icinga.com/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@zkoooo](https://community.icinga.com/u/zkoooo)\
**Post date:** [September 15, 2026, 3:40pm UTC](https://community.icinga.com/t/icinga-for-windows-cleanup-servicecheck-cache/15581/3 "2026-09-15T15:40:52Z")

</div>

Hi!  
I know this, but what I will achive is to remove for example the xml and db file for the registered background services. The service caches there the metrics. After the service is unregistered and the framework service is restarted, the files are continuously kept there. I could delete them using with simple remove-Item, but maybe it damages something. I hope there is any tool inside the framework, which cleans these data/files.
