Problem running powershell commands in script monitor in OM 11200

Problem running powershell commands in script monitor in OM 11200

I would like to schedule a Test-MAPIConnectivity script on one of our Exchange servers but am having problems setting it up as a script monitoring template.

I have found the script body that I think will work but when testing it I get the following:

"The term 'Test-MapiConnectivity' is not recognized as the name of a cmdlet, fun
ction, script file, or operable program. Check the spelling of the name, or if 
a path was included, verify that the path is correct and try again."

Is there a way of installing the cmdlet on the OpManager server or copying it across to a particular directory?

Thanks

JB

                New to ADSelfService Plus?