Get-MpPreference

Senior Member

I try the attached commands in powershell and I have no answer

Get-MpPreference | Select-Object -ExpandProperty AttackSurfaceReductionRules_Ids

Get-MpPreference | Select-Object -ExpandProperty AttackSurfaceReductionRules_Actions

 

by example seems to be ok -PS C:\WINDOWS\system32> (Get-Service windefend).Status
Running

1 Reply
Not a Defender SME but I dont see any properties with those names in the results from the Get-MpPreference command. Can you check they are the properties that you need? The only ones close are ThreatIDDefaultAction_Ids and ThreatIDDefaultAction_Actions...