PowerTip: Get a List of Installed Troubleshooters

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}

Comments (0)