Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何使用 Powershell 检查进程或应用程序是否正在远程服务器上运行,但是我无法自动检查进程是否已停止工作。在这种情况下,进程看起来没问题,但应用程序没有响应。
是否可以检查我们内部开发团队制作的应用程序的这个“功能”?;)谢谢
对远程机器使用 Get-Process 是可行的。有一个可用的布尔属性,称为“响应”,应该可以工作。
或者
Get-WMIObject -Computername $computername -Class Win32_Process