List Windows Updates Via PowerShell and Export Them to a CSV File

Veröffentlicht am: 11 Oktober 2022
auf dem Kanal: OnlineComputerTips
1,187
7

If you need to view all of the Windows updates on your computer in an easy to read format, you can use PowerShell to view them all along with their details such as the install date and KB number. You can also use PowerShell to export the results to a CSV file that you can then open with Microsoft Excel so you can format it as needed.

The main command
Get-WUHistory | Select-Object -First 25

If it can't find the command, you will need to run
Install-Module PSWindowsUpdate

And then most likely
Import-Module PSWindowsUpdate

If you get an error that says
Module cannot be loaded because running scripts is disabled on this system

You will need to run
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Here is the command to export your updates to a CSV file. Just be sure to change the path and file name as needed.
Get-WUHistory | Export-CSV c:\updates.csv

Check out our book (Computers Made Easy) that is designed to take your computer skills to the next level!
https://www.amazon.com/dp/B084DFQT25

#powershell


Auf dieser Seite können Sie das Online-Video List Windows Updates Via PowerShell and Export Them to a CSV File mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer OnlineComputerTips 11 Oktober 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,187 Mal angesehen und es wurde von 7 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!