我想终止所有运行时间超过 5 分钟的 Internet Explorer 进程。这必须是使用 Powershell v1.0 的一行命令。
最佳答案
另一种方式:
get-process iexplore | ? { ([DateTime]::Now - $_.StartTime).TotalSeconds -gt 300 } | stop-process
关于internet-explorer - 使用 Powershell 终止所有运行时间超过 5 分钟的 Internet Explorer 进程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11410293/