Has anyone had any luck using a Windows PowerShell Monitor with SharePoint PS Scripts? I am wondering if I have to add the SharePoint snapins on the SAM server? Forgive me as I am fairly new to the product .
If template requires some PS snapin for polling, you have to install them on the monitored machine.
If the script is executed locally on the Orion server itself then the PowerShell Snap-ins will need to be installed on the Orion server. If you are using remote PowerShell (WinRM) then the Snap-ins will need to be available on the remote host. I suggest working with the PowerShell script on the Orion server itself outside of SAM to ensure it works properly before moving it into a SAM PowerShell Script Monitor. This should make troubleshooting issues easier.