So I'm having similiar issues on a poller and wanted a good solution to kind of keep track and atleast predict what's going on. A restart of the services or server usually does it as well. I'll be opening up a ticket today, so hopefully I can get some further resolution.
I'm running this on my 2nd poller which is 2012 r2.
I couldn't get your template to work, any further instructions that would be needed for it? Runs in PS just fine on the server and remote execution is set to unrestricted, but all I get is output as not defined.
You work around of restarting the Solarwinds services sounds so Microsoft! We have hundreds of Citrix servers that must be rebooted every 48 hours to deal with Microsoft limitations . . . I had to write filters to keep my Inbox clean of their continual "node down", "node rebooted", "node up" alerts from NPM.
Fixing the cause, instead of kluging around the symptoms, would be desired everywhere, I suspect.
It uses powershell remoting, so you need to have that configured on the target node.