November 14th, 2013

PowerTip: Use PowerShell to Get Details about Setup Log

Doctor Scripto
Scripter

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 *

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.