PowerTip: Use PowerShell to Get Details about Setup Log

PowerTip: Use PowerShell to Get Details about Setup Log

  • Comments 2
  • Likes

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 *

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Powerful command if we use this in HTML format.

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