Currently, the only known way is this sort of effort:
Set-MpPreference -DisableIntrusionPreventionSystem $true ` -DisableBehaviorMonitoring $true ` -DisableRemovableDriveScanning $true ` -DisableScanningMappedNetworkDrivesForFullScan $true ` -DisableScanningNetworkFiles $true ` -DisableEmailScanning $true ` -DisableBlockAtFirstSeen $true ` -DisableIOAVProtection $true ` -DisableRealtimeMonitoring $true ` -DisableScriptScanning $true ` -EnableControlledFolderAccess Disabled ` -MAPSReporting Disabled ` -SubmitSamplesConsent NeverSend ` -PUAProtection Disabled