I have a script that works when I run it from the powershell console on my Orion server (2008) but when I add the script to the template and test it I get:
Could not load type 'System.Management.Automation.Runspaces.WSManConnectionInfo' from assembly 'System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e37'.
When I run it from the Orion server directly the script only outputs: Statistics: 98 (where 98 is expected/resonable)
Any ideas where to start looking? Is there a more verbose log? Is there a testing tool that you can use built into APM/NPM?
Thanks for any help.