PowerTip: Use PowerShell to Get Details about Setup Log


Summary: Use Windows PowerShell to get detailed information about the setup log.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find information about the status of the setup log on my computer?

Hey, Scripting Guy! Answer Use the Get-WinEvent cmdlet, select the setup log, and then pipe the output to the Format-List cmdlet:

Get-WinEvent -ListLog setup | Format-List *

Comments (2)

  1. Chen V says:

    Powerful command if we use this in HTML format.

  2. ash says:

    How to get Setup log and filter with Error , warning , critical filter criteria and for last 7 days ?

Skip to main content