Hi Richard,
Thanks for sharing this, I have been looking at this as well.
I keep running into an error when i try to execute this from VisualCron itself. I am wondering if you have experienced this as well?
The moment I execute the small script from you basics file I get the error System.Management.Automation.MethodInvocationException: Exception calling "Connect" with "1" argument(s): "Object reference not set to an instance of an object.".