I have written a Powershell scripts that checks the current status of Citrix PVS Image load-balancering.
This is what i have written in the code
And this is the output of check_mk_agent.exe test
But when i add the host to checkmk i get this
What clould be wrong here?