Share via

<PowerShell> Start-MpScan -ScanType FullScan errors out after 30 minutes

Anonymous
2015-06-21T10:31:55+00:00

This is an issue with either defender or powershell. What I'm trying to do, is run a powershell scan from a script using the command Start-MpScan -ScanType FullScan, using PowerShell ISE and it constantly fails after exactly 30 minutes. The error that is raised isn't very helpful either: A general error occurred that is not covered by a more specific error code. With this type of error, I can't even tell where is is coming from (Defender / PowerShell / other). Any help appreciated.

Start-MpScan : A general error occurred that is not covered by a more specific error code.

At line:1 char:1

  • Start-MpScan -ScanType FullScan
  • 
    

    + CategoryInfo          : NotSpecified: (MSFT_MpScan:ROOT\Microsoft...der\MSFT_MpScan) [Start-MpScan], CimException

    + FullyQualifiedErrorId : MI RESULT 1,Start-MpScan

Windows for home | Previous Windows versions | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-06-21T16:06:35+00:00

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

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful