Microsoft Defender for Endpoint

Andreas 1,051 Reputation points


We have an hybrid environment with SCCM and Microsoft Defender For Endpoint.

Exceptions are configured, but what is the correct command to list them out locally on the server.

This command works, it gives me the complete list

Get-MpPreference | Select-Object -Property ExclusionPath -ExpandProperty ExclusionPath

This commando does not work, it does not give me the complete list

Get-MpPreference | Select-Object -Property ExclusionProcess


PS C:\Windows\system32> Get-MpPreference | Select-Object -Property ExclusionProcess


{CcmAADBroker.exe, Ccmexec.exe, Ccmrepair.exe, Ccmsetup.exe...}

if I add -ExpandProperty ExclusionPath it only shows the ExclusionPath catalogs and files

So what I want is the complete list of the excluded processes.

Thanks for answers..



Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
2,649 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,220 questions
Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
664 questions
0 comments No comments
{count} votes

Accepted answer
  1. XinGuo-MSFT 10,391 Reputation points


    PowerShell just doesn't display more than the value of $FormatEnumerationLimit items. So, you could set that to a higher value to show the complete list.

    User's image

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful