Icinga / icinga-powershell-framework

This PowerShell module will allow to fetch data from Windows hosts and use them for inventory and monitoring solutions. Together with the Icinga Web 2 module, a detailed overview of your Windows infrastructure will be drawn.
MIT License
78 stars 33 forks source link

Get-IcingaAgentInstallation - Error handling on registry #764

Open AlexMilotin opened 6 days ago

AlexMilotin commented 6 days ago

I have a weird case in which a reg key contains a forward slash '/' which would be interpreted as a skip character and the $RegistryData = Get-ItemProperty $regPath in Get-IcingaAgentInstallation function would throw an error

image

image

This is the part i am talking about

image