title: Why can't I change `Real Time Monitoring` parameter value in powershell?
body: <p>I am learning how to use PowerShell to control a Windows 10  VM for pentesting purposes, the cmdlet <code>Get-MpPreference</code> has so many parameters the ones I am interested in are</p>
  <pre><code>DisableIntrusionPreventionSystem              :
  DisableIOAVProtection                         : False
  DisablePrivacyMode                            : False
  DisableRealtimeMonitoring                     : False
  DisableRemovableDriveScanning                 : True
  DisableRestorePoint                           : True
  DisableScanningMappedNetworkDrivesForFullScan : True
  DisableScanningNetworkFiles                   : False
  </code></pre>
  <p>Now when I type <code>set-mppreference -DisableRealtimeMonitoring $True</code> I expected that parameter to have a value of Ture but I does not change.</p>
  <p>I am running PowerShell as an admin</p>