Alias Reference function find_process_by_port([int]$port){ netstat -ano | findStr "$port"} Set-Alias -Name get_process_by_port -Value find_process_by_port