PowerShell: Get-ItemProperty

What is in my Windows installation

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* , HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Sort-Object InstallDate | Select-Object DisplayName, DisplayVersion, Publisher

Sample Output

...
Microsoft.NET.Sdk.MacCatalyst.Manifest-9.0.100 (x64)                          18.2.9180           Microsoft Corporation
LibreOffice 25.2.1.2                                                          25.2.1.2            The Document Foundation
Hotspot Shield 12.10.2                                                        12.10.2.12281       Pango Inc.
Windows Subsystem for Linux                                                   2.4.13.0            Microsoft Corporation
Microsoft Visual C++ 2010  x64 Redistributable - 10.0.40219                   
10.0.40219          Microsoft Corporation
...

What App Pools are running

  • First start an elevated PowerShell prompt
  • Then run Import-Module WebAdministration
  • Then foreach ($app in "IIS:\AppPools") { Write-Output([pscustomobject]@{PID = (dir IIS:\AppPools$($app.Name)\WorkerProcesses).ProcessId })

Sample output

PID
---
13345