Skip to content

Commit 68d25cc

Browse files
committed
Learn Editor: Update detect-block-potentially-unwanted-apps-microsoft-defender-antivirus.md
1 parent 73d185a commit 68d25cc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

defender-endpoint/detect-block-potentially-unwanted-apps-microsoft-defender-antivirus.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,19 @@ Set-MpPreference -PUAProtection Disabled
175175

176176
Setting the value for this cmdlet to `Disabled` turns off the feature if it has been enabled.
177177

178+
#### To query the PUA status
179+
180+
181+
```powershell
182+
get-mpPreference | ft PUAProtection
183+
```
184+
185+
|Value | Description|
186+
| -------- | -------- |
187+
| 0 | PUA Protection off (Default). Microsoft Defender Antivirus won't protect against potentially unwanted applications. |
188+
|1 |PUA Protection on. Detected items are blocked. They will show in history along with other threats.|
189+
|2|Audit mode. Microsoft Defender Antivirus will detect potentially unwanted applications but take no action. You can review information about the applications Windows Defender would've taken action against by searching for events created by Windows Defender in the Event Viewer.|
190+
178191
For more information, see [Use PowerShell cmdlets to configure and run Microsoft Defender Antivirus](use-powershell-cmdlets-microsoft-defender-antivirus.md) and [Defender Antivirus cmdlets](/powershell/module/defender/index).
179192

180193
## Test and make sure that PUA blocking works

0 commit comments

Comments
 (0)