Hello!
I am using the Invoke-IcingaCheckUpdates and I have noticed that the exit code of the command is every time 0 (no matter if there are pending updates), so icinga shows the service as always ok.

As you can see in the image the output of the script is WARNING and the Service status is OK.
Is this how it suppose to work?
Thanks,
Mike