Это лучшее, что я мог придумать
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic') | Out-Null
$killme = [Microsoft.VisualBasic.Interaction]::InputBox('Enter complete or portion of process name', 'Process Name', "")
Get-Process | Where-Object ProcessName -Like "*$killme*" | kill -confirm -Force -PassThru