Forum Discussion

Viorel_Popa_13's avatar
Viorel_Popa_13
Copper Contributor
Oct 25, 2022

Get-MpPreference

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

  • fatherjack's avatar
    fatherjack
    Copper Contributor
    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...

Resources