powershell command to show software and status code example Example: PowerShell command list software windows server 2016 Get-WmiObject -Class Win32_Product