Local Windows check, we sometimes get "UNKN - Item not found in agent output"

So, I need better help on this one. Let’s say the script has one line… write-host.

And sometimes it works and sometimes checkmk returns Unknown. Anybody have a reasonable guess as to why a local check would come back with no output, even in the simple case of a one liner outputting a constant successful result.