From b265f5d89f8277379927495fd9a32dc3b3d30481 Mon Sep 17 00:00:00 2001 From: VARADHARAJAN K <3296790+RAJU2529@users.noreply.github.com> Date: Sat, 4 Jan 2020 23:37:13 +0530 Subject: [PATCH] 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 --- ...tentially-unwanted-apps-windows-defender-antivirus.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/windows/security/threat-protection/windows-defender-antivirus/detect-block-potentially-unwanted-apps-windows-defender-antivirus.md b/windows/security/threat-protection/windows-defender-antivirus/detect-block-potentially-unwanted-apps-windows-defender-antivirus.md index 0013143d29..4f98c623ab 100644 --- a/windows/security/threat-protection/windows-defender-antivirus/detect-block-potentially-unwanted-apps-windows-defender-antivirus.md +++ b/windows/security/threat-protection/windows-defender-antivirus/detect-block-potentially-unwanted-apps-windows-defender-antivirus.md @@ -122,11 +122,18 @@ For Configuration Manager 2012, see [How to Deploy Potentially Unwanted Applicat Use the following cmdlet: ```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. +```PowerShell +Set-MpPreference -PUAProtection auditmode +``` 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.