[powershell] 프로세스 찾아 종료

 Get-WmiObject win32_process -computername gp425 | Select-Object name,handle,executablepath

이걸 응용해서 프로세스 동작시간 (creation DATE) 확인이 가능하다.

Get-WmiObject win32_process -computername mgw2 | Select-Object name, creationdate

위와 같이 입력하면 pg152 실행 경로 pid 등을 확인가능

원정대 서버만 골라끌때 쓴다.

  • 피파의 경우 원정대 센터 서버든, 일반 게임 센터든간에 프로세스명은 모두 ff2center.exe !
    • 게임 서버는 ff2game 이다.ㅋㅋ
  • 이럴땐 excutablepath 확인하여 (원정대 fellowship / 월드투어 worldtour ) 해당 PID 찾아서 해당 PID 골라서 죽여준다.

  • taskkill /s pg152 /f /PID 1111 /PID 2222 /PID 3333 등등~

글쓴이