title: Powershell Set-MpPreference -DisableRealtimeMonitoring $true not working correctly
body: <p>I must warn you I don't use powershell much. I am trying to turn off windows defender real time protection via powershell I found the command <code>Set-MpPreference -DisableRealtimeMonitoring $true</code> and tried it in admin privileges only to get this</p>
  
  <blockquote>
    <p>Set-MpPreference : Operation failed with the following error:
    0x800106ba. Operation: Set-MpPreference. Target:
    DisableRealtimeMonitoring. At line:1 char:1<br>
    + Set-MpPreference -DisableRealtimeMonitoring $true<br>
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
        + CategoryInfo          : NotSpecified: (MSFT_MpPreference:root\Microsoft...FT_MpPreference)<br>
    [Set-MpPreference],    CimException<br>
        + FullyQualifiedErrorId : HRESULT 0x800106ba,Set-MpPreference </p>
  </blockquote>
  
  <p>Any thoughts?</p>