taskkill /f /im powershell.exe
wmic process get processid,parentprocessid,name
# 查看端口号占用情况,最后一列为程序的PID netstat -ano | findStr 端口号 # 根据pid查询是哪个进程占用 tasklist | findStr PID