Solution: Using the $PID built-in variable which returns the current process ID, this will kill off all others.Get-Process -Name powershell | foreach { if.
確定! 回上一頁