Microsoft Windows Defender – how to retrieve exclusions by PowerShell without truncation output

Microsoft Windows Defender – run the following command(s) in PowerShell with admin rights

 

 

PS C:\tmp> Get-MpPreference | Select-Object -ExpandProperty ExclusionPath
PS C:\tmp> Get-MpPreference | Select-Object -ExpandProperty ExclusionExtension
PS C:\tmp> Get-MpPreference | Select-Object -ExpandProperty ExclusionProcess

Leave a Reply

You must be logged in to post a comment.