get-wmiobject list installed software code example Example: PowerShell command list software windows server 2016 Get-WmiObject -Class Win32_Product