banner



How To Upgrade Powershell In Windows 10

Windows 10 updates happen automatically or manually through the Windows Update settings. Withal, if you are trying to patch a new installation or create a custom script to automate the process differently, you tin can utilise commands to query and install missing patches with PSWindowsUpdate on PowerShell.

PSWindowsUpdate is a community module by Michal Gajda, bachelor through the PowerShell Gallery. Information technology includes the components to make it like shooting fish in a barrel to check, download, and install quality updates on Windows 10.

In this guide, y'all'll learn the steps to check and install updates for Windows 10 using PowerShell.

How to update Windows ten using PowerShell

To check and install updates with PowerShell, use these steps:

  1. Open up Start.

  2. Search for PowerShell, correct-click the summit result, and select the Run every bit administrator option.

  3. Type the following command to install the module to run Windows Update and press Enter:

    Install-Module PSWindowsUpdate
    Install-Module PSWindowsUpdate
    Install-Module PSWindowsUpdate

    Quick notation: After installing the module, yous no longer need to repeat step No. 3 to use the module and manage updates.

  4. Type A and press Enter to ostend.

  5. Type the following command to check for updates with PowerShell and printing Enter:

    Go-WindowsUpdate
  6. Type the following control to install the available Windows x updates and press Enter:

    Install-WindowsUpdate
    PowerShell install Windows 10 updates
    PowerShell install Windows x updates
  7. Type A and press Enter to confirm.

In one case you complete the steps, the latest cumulative updates volition download and install on your figurer.

Manage updates with PowerShell

The PSWindowsUpdate module includes many options that you tin can employ to manage updates. You tin can always use the Get-Command –Module PSWindowsUpdate control to query a list of the bachelor commands.

For instance, the following steps download, install, and and then reboot the computer to complete the update process:

  1. Open up First.

  2. Search for PowerShell, right-click the meridian consequence, and select the Run as administrator pick.

  3. Type the following command to download and install all the bachelor updates and reboot the system, and press Enter:

    Become-WindowsUpdate -AcceptAll -Install -AutoReboot

After y'all complete the steps, Windows ten will download and install all the available updates, and it'll reboot the figurer to apply the changes automatically.

In that location'southward also the selection to download and install a specific update:

  1. Open Start.

  2. Search for PowerShell, right-click the meridian result, and select the Run every bit administrator option.

  3. Type the following command to list the bachelor updates along with their KB numbers with PowerShell and press Enter:

    Get-WindowsUpdate            
  4. Type the post-obit control to download and install specific and reboot the system and printing Enter:

    Get-WindowsUpdate -Install -KBArticleID 'KB5007186'

    In the command, make sure to replace "KB5007186" with the KB name of the update you want to install.

In one case you consummate the steps, in this case, Windows 10 will download and install update KB4560960 on your device.

Windows 10 comes with the Windows Update Provider, but information technology has express options compared to the PSWindowsUpdate module, and it's more complicated to use.

We may earn commission for purchases using our links to help proceed offering the costless content. Privacy policy info.

All content on this site is provided with no warranties, limited or unsaid. Use any information at your ain risk. Always backup of your device and files before making any changes. Privacy policy info.

Source: https://pureinfotech.com/install-windows-10-update-powershell/

Posted by: bradleyroutionce.blogspot.com

0 Response to "How To Upgrade Powershell In Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel