July 13th, 2013

PowerTip: Get a List of Installed Troubleshooters

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to get a list of installed troubleshooters.

Hey, Scripting Guy! Question How can I get a list of installed troubleshooters on my system by using Windows PowerShell?

Hey, Scripting Guy! Answer Use the Get-ChildItem cmdlet and look for directories in the c:\windows\diagnostics\system folder.

      • To use Windows PowerShell 3.0:

Get-ChildItem -Directory  C:\Windows\diagnostics\system

      • To use Windows PowerShell 2.0:

 Get-ChildItem  C:\Windows\diagnostics\system | where {$_.psiscontainer}

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.

Feedback