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