added three dcommands

as per user report #5795 .

i added three  commands  with explanation 
Set-MpPreference -PUAProtection disable
Set-MpPreference -PUAProtection enable
Set-MpPreference -PUAProtection auditmode
This commit is contained in:
VARADHARAJAN K 2020-01-04 23:37:13 +05:30 committed by GitHub
parent 44ca0d9d73
commit b265f5d89f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,11 +122,18 @@ For Configuration Manager 2012, see [How to Deploy Potentially Unwanted Applicat
Use the following cmdlet: Use the following cmdlet:
```PowerShell ```PowerShell
Set-MpPreference -PUAProtection Set-MpPreference -PUAProtection disable
``` ```
Setting the value for this cmdlet to `Disabled` will turn the feature off if it has been enabled.
```PowerShell
Set-MpPreference -PUAProtection enable
```
Setting the value for this cmdlet to `Enabled` will turn the feature on if it has been disabled. Setting the value for this cmdlet to `Enabled` will turn the feature on if it has been disabled.
```PowerShell
Set-MpPreference -PUAProtection auditmode
```
Setting `AuditMode` will detect PUAs without blocking them. Setting `AuditMode` will detect PUAs without blocking them.
See [Use PowerShell cmdlets to configure and run Windows Defender Antivirus](use-powershell-cmdlets-windows-defender-antivirus.md) and [Defender cmdlets](https://technet.microsoft.com/library/dn433280.aspx) for more information on how to use PowerShell with Windows Defender Antivirus. See [Use PowerShell cmdlets to configure and run Windows Defender Antivirus](use-powershell-cmdlets-windows-defender-antivirus.md) and [Defender cmdlets](https://technet.microsoft.com/library/dn433280.aspx) for more information on how to use PowerShell with Windows Defender Antivirus.