I'm not a powershell user, but can advise you that questions about its use are better handled on the TechNet forums.
When searching for MpScan (which I was not familiar with), I found this: https://technet.microsoft.com/en-us/library/dn433288.aspx?f=255&MSPPError=-2147217396
It appears that your command may be incomplete based on the error and what you noted as your command.
I recommend that you post your question here:
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
-steve