How to query the task manager Powershell: Get-WmiObject Win32_Process | Select Name, ProcessId, CommandLine