Microsoft Update for PowerShell FAQ

Commencement with PowerShell 7.2, when you install using the MSI parcel you take the option of enabling Microsoft Update support for PowerShell.

General Data

What is the Microsoft Update feature in PowerShell?

The Microsoft Update characteristic of PowerShell allows you to become the latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether that'south with Windows Update for Business concern, WSUS, Microsoft Endpoint Configuration Manager, or the interactive MU dialog in Settings. Microsoft Update and the related services enable you lot to deploy updates:

  • On your schedule
  • Afterwards testing for your environment
  • At calibration across your enterprise

How soon after release are updates advertised past Microsoft Update?

When a new version of PowerShell is released, it can take upwardly to two weeks for that version to become bachelor through Microsoft Update. Updates are delivered every bit optional software updates, even if the update contains a security set.

If you need to deploy the update before it becomes available in Microsoft Update, download the update from the Releases page on GitHub.

Configuration

What version of Windows is required to support the Microsoft Update feature?

Yous must have Windows x Version 1709 (10.0.16299) or newer installed on an x64-based system.

Do I demand to check both boxes in the setup dialog?

While the two options on the dialog are independent, in nearly cases, it's best to bank check both boxes.

PowerShell setup - Microsoft Update dialog

What does each checkbox do?

The start checkbox enables updates for PowerShell. These updates can be delivered by Microsoft Update, a WSUS server, or SCCM. If this checkbox is unchecked, you lot cannot receive updates through any of these channels.

The second checkbox enables Microsoft Update on your system. This allows you to receive updates for any supported Microsoft software, not just Windows. If the box is unchecked, you volition not receive the update from Microsoft Update, just you can receive updates from WSUS or SCCM.

What if I want to opt-out afterwards?

If you lot want to opt-out of updates later on, yous can run the MSI install bundle and uncheck the first checkbox. Unchecking the 2d checkbox has no effect.

Can I enable these update options from the command line or in a script?

Yes. The MSI package includes two new MSI options for enabling the update features:

  • USE_MU - This holding has ii possible values:
  • 1 (default) - Opts into updating through Microsoft Update, WSUS, or SCCM
  • 0 - Do non opt into updating through Microsoft Update, WSUS, or SCCM
  • ENABLE_MU
    • 1 (default) - Opts into using Microsoft Update for Automatic Updates
    • 0 - Do not opt into using Microsoft Update

Note

Setting ENABLE_MU=0 does not disable Microsoft Update.

Troubleshooting

I haven't received an update for the new release. Why not?

At that place can be several reasons for not receiving the update:

  • We may not accept published the update nevertheless. Our goal is to make the update bachelor to Microsoft Update within two weeks of release, simply there is no guarantee for that availability.
  • Brand certain you have checked both checkboxes. Practice a repair install using the MSI to ensure that both checkboxes are checked.
  • At that place are group policy settings that control Microsoft Update. Your system administrator may accept policies set that forbid you from using Microsoft Update. The checkbox in the installer cannot override the Group Policy.