Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
FREEDOM251

Freedom251 › Blog › PowerShell

Update Windows Defender Definitions Using Windows PowerShell

By Freedom251 Team · · 8 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use PowerShell’s built-in Update-MpSignature cmdlet to request the latest Microsoft Defender Antivirus definitions, then use Get-MpComputerStatus to confirm the version, update time, age, and out-of-date flag. The commands apply to supported Windows 10, Windows 11, and Windows Server installations where Defender is present and permitted to update.

What the PowerShell update actually does

Microsoft Defender Antivirus relies on antimalware definitions, also called security intelligence, to recognize current malware patterns. The Defender PowerShell module exposes one cmdlet for requesting an update and another for inspecting the resulting state. Update-MpSignature asks an update service for newer definitions; it does not replace the Defender engine, change real-time-protection settings, or scan every file on demand.

As an Amazon Associate I earn from qualifying purchases.

The update source is normally selected by the computer’s configured SignatureFallbackOrder. When no fallback order is configured, Microsoft documents Microsoft Update Server followed by the Microsoft Malware Protection Center (MMPC). Managed computers can instead be directed to an internal WSUS definition server or another approved source, so a successful command depends on policy, connectivity, and the services allowed by your organization.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before you run the command

Confirm that Defender is the relevant antivirus

These cmdlets report on Microsoft Defender Antivirus. On a personal computer, Defender may be the active protection provider. On a managed computer, another endpoint product, a security baseline, or a policy can change which provider is active or whether Defender updates are allowed. The command can still be present even when an administrator has restricted its use.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Use the right PowerShell window

Open PowerShell from the Start menu or Windows Terminal. A standard window is sufficient on many installations, but local policy or the specific Defender operation can require elevation. If the command reports access denied, policy restrictions, or a service-control error, close the window and open PowerShell with Run as administrator, then retry.

Expect a network-dependent operation

Definitions must be obtained from an allowed update source. A proxy, firewall, offline device, VPN policy, WSUS configuration, or temporarily unavailable service can prevent new files from arriving even though PowerShell itself is working correctly.

Step-by-step: request a Defender definition update

  1. Open PowerShell. Elevate the window if your local policy requires administrator rights or if an unelevated attempt fails.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  2. At the prompt, run:

    Update-MpSignature

    The cmdlet requests the latest definitions available through the configured source order. It normally returns control to the prompt after the request completes; the absence of a long progress display is not, by itself, proof that the device is current.

  3. Allow the operation to finish. Do not close the PowerShell window or disconnect the computer from its required network while the request is running.

    Rank #2
    Sale
    Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
    • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
    • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
    • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
    • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
    • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
  4. Continue with the verification command in the next section. A current signature version and recent timestamp are more useful than assuming that a command which returned without an obvious error changed the device.

Choose an update source explicitly

Most users should allow the configured fallback order to decide. Explicit selection is useful when diagnosing a source problem, testing a managed configuration, or following an administrator’s instructions. Microsoft documents four accepted values for the -UpdateSource parameter.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Source value When it is appropriate What to verify
InternalDefinitionUpdateServer A managed environment that distributes definitions through its internal update server, commonly WSUS. The computer can reach the internal server and policy permits that route.
MicrosoftUpdateServer You need to request definitions from Microsoft Update explicitly instead of relying on the configured order. Windows Update connectivity, proxy rules, and organizational approval.
MMPC An administrator has approved Microsoft Malware Protection Center as the requested source. Outbound access to the service and any endpoint policy governing fallback.
FileShares Your organization maintains an approved definition package on a file share. Share permissions, path configuration, and the policy that defines the share.

For the documented Microsoft Update example, run:

Update-MpSignature -UpdateSource MicrosoftUpdateServer

Do not use an explicit source merely to bypass enterprise controls. If a device is configured for an internal server, forcing a public source may violate policy or produce a result that is not representative of the organization’s update process.

Verify the definition version and freshness

After the request, query Defender’s status rather than relying on the command prompt alone:

Get-MpComputerStatus | Select-Object AntivirusSignatureVersion, AntivirusSignatureLastUpdated, AntivirusSignatureAge, DefenderSignaturesOutOfDate

The four selected properties answer different questions:

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord | 6.35mm Jack, Durable Design, Stage and Home Studio Use, Low Noise Shielded Electric Cord for Bass, Keyboard, Amp, Mixer
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
  • AntivirusSignatureVersion identifies the definition package currently installed.
  • AntivirusSignatureLastUpdated shows when Defender recorded the most recent signature update.
  • AntivirusSignatureAge reports the age of the installed signatures, which helps reveal a device that has stopped receiving updates.
  • DefenderSignaturesOutOfDate is the status flag indicating whether Defender considers the signatures stale.

A healthy result normally has a recent update timestamp, a low signature age, and an out-of-date flag of False. “Recent” is relative to your organization’s update policy and the device’s connectivity; there is no universal timestamp that proves every computer is current.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Display only the installed version

For a quick focused check, request the version property alone:

Get-MpComputerStatus | Select-Object -ExpandProperty AntivirusSignatureVersion

Use the full four-property query when troubleshooting because a version without its timestamp and age does not show whether updates are still arriving.

Capture a complete status record

When you need broader diagnostics, run:

Get-MpComputerStatus

This returns the antimalware status object, including the signature fields above and other Defender state. Save the output only according to your organization’s handling rules; status data can reveal device and security configuration details.

Foreground, background, and remote execution

The basic command runs in the current PowerShell session on the local computer. The same Defender cmdlets expose optional parameters for administration scenarios, but each changes how you monitor and troubleshoot the operation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
Approach Command pattern Use it when Operational trade-off
Local, foreground Update-MpSignature You are updating the computer you are using and can wait for completion. Simplest to observe; the session remains occupied while the request runs.
Local, background job Update-MpSignature -AsJob You need the update request to run as a PowerShell background job. You must monitor the job and retrieve its result; starting a job does not prove that definitions were downloaded.
Remote computer Update-MpSignature -CimSession $session You administer another Windows computer through an established CIM session. Requires remoting configuration, authentication, firewall access, and permissions on the target.
Remote status check Get-MpComputerStatus -CimSession $session You need to verify the target after a remote request. The returned properties describe the remote device, not the computer running your console.

-AsJob and -CimSession are optional administration features. Do not add them to a one-off local update unless you specifically need asynchronous execution or remote scope.

Monitor a background job

If you started the update with -AsJob, inspect the job from the same PowerShell session:

Get-Job

When the job reports completion, retrieve its output and errors:

Receive-Job -Id <job-id>

Replace <job-id> with the numeric identifier returned by Get-Job. Finish by running the status query against the same computer; job completion is only an execution event, while the signature properties show the resulting Defender state.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use an existing CIM session safely

A remote command requires a valid CIM session variable. For example, an administrator might create a session using the organization’s approved computer name and credentials, then pass that session to both cmdlets. The exact session-creation method depends on remoting policy, network topology, and authentication, so do not assume that a remote command will work merely because the local command does.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why an update can appear not to work

The signature age does not change

Run the full status query and compare AntivirusSignatureLastUpdated, AntivirusSignatureAge, and DefenderSignaturesOutOfDate. If all remain unchanged, the request likely could not obtain a newer package, the device already had the newest package available from its source, or policy blocked the operation.

The computer is managed by WSUS or another internal policy

Do not assume that a public Microsoft source is the correct fix. A managed endpoint may be required to use InternalDefinitionUpdateServer, and its fallback order can be centrally controlled. Contact the administrator responsible for endpoint or Windows Update policy when the internal route is unavailable.

Network or proxy access is blocked

Check whether the computer can reach its approved update service from the same network context used by Defender. A browser test is not a substitute for validating the service, proxy, and policy path used by the antimalware component. Test again after restoring the required connection, then inspect the timestamp and age fields.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

PowerShell reports access or policy errors

Retry in an elevated window if permitted. If the error persists, endpoint policy, tamper protection, disabled services, or a centrally managed configuration may be responsible. Do not disable security controls just to force an update; escalate the exact error text and the status output to the administrator.

The command exists but Defender is not active

The Defender module can be installed even when another antivirus provider is controlling protection or an administrator has disabled parts of Defender. Check the broader output from Get-MpComputerStatus and follow the device owner’s security policy before changing providers or services.

Automate a repeatable update-and-check routine

For a local maintenance script, keep the update and verification as separate stages so that the result is observable:

Update-MpSignature
Get-MpComputerStatus | Select-Object AntivirusSignatureVersion, AntivirusSignatureLastUpdated, AntivirusSignatureAge, DefenderSignaturesOutOfDate

Run this only in environments where scripting is allowed. Record the returned properties in the organization’s approved monitoring system rather than treating a successful PowerShell process exit as a compliance signal. If the routine runs remotely, create and validate the CIM session first, pass it to both commands, and distinguish connection failures from a Defender result showing stale signatures.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What this method does not do

  • It does not perform a full malware scan. Use the separate Defender scan controls when scanning is required.
  • It does not guarantee that the newest definitions are available if the approved source, network, or policy is unavailable.
  • It does not override WSUS, endpoint management, tamper protection, or other administrative controls.
  • It does not require a third-party physical product; the workflow uses Windows’ built-in Defender PowerShell module.
  • It does not make an illustrative version or timestamp from documentation a universal current value. Always read the values returned by the device you are checking.

Recommended workflow for personal and managed PCs

Personal computer

  1. Open PowerShell, elevating only when required.
  2. Run the standard Defender signature-update cmdlet using the configured source.
  3. Query the four signature properties and confirm that the timestamp and age are current for your normal update policy.
  4. If the values remain stale, restore network access and retry before investigating software or service problems.

Organization-managed computer

  1. Identify whether policy requires an internal definition server or a specific fallback order.
  2. Run the update through the approved source, or allow the configured order to operate.
  3. Verify the local or remote status properties and retain the output according to administrative procedures.
  4. Escalate policy, service, permission, or connectivity errors instead of bypassing controls.

This gives you both halves of a reliable update: a request for new definitions and a device-side check that shows what Defender actually installed.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

PowerShellsecurity intelligencesystem administrationWindows 10Windows 11Windows DefenderWindows Server

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.