r/PowerShell • • Mar 01 '26

Solved Quick Defender Update Question

I'm trying to do the Security Intelligence Update for Defender.

My script is already using Update-MpSignature and Get-WindowsUpdate which is working for the signatures and general Windows updates.

What command can I use for the Intelligence updates? My searches have yielded other scripts which probably do account for these updates, but I want to understand the syntax... not just drop someone else's script in place.

Can someone point me to to the proper command/syntax for this?

Thank you u/jeffrey_f!

ANSWER:
#This does the get too
Install-WindowsUpdate -AcceptAll

8 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/cbrieeze Mar 01 '26

actually try this

cd %ProgramFiles%\Windows Defender
MpCmdRun.exe -removedefinitions -dynamicsignatures
MpCmdRun.exe -SignatureUpdatecd %ProgramFiles%\Windows Defender

https://www.microsoft.com/en-us/wdsi/defenderupdates

1

u/enterrawolfe Mar 01 '26

Will do! I’ll let you know it goes after I get back to the office. Thanks again!