PowerShell PowerShell Get-Process Notepad | Select-Object Name,MainWindowHandle 1 Get-Process Notepad | Select-Object Name,MainWindowHandle