使用WMI对象的Ram使用事件订阅

时间:2018-11-23 10:19:10

标签: .net windows powershell

我想知道当ram使用超过特定阈值时是否可以获得WMI事件订阅?百分比(例如90%)或绝对值(例如)超过8 GB。

类似于如何监视是否使用IO.FileSystemWatcher创建文件,如此处https://gallery.technet.microsoft.com/scriptcenter/Powershell-FileSystemWatche-dfd7084b所示

有什么事要解决:Getting the CPU, memory usage and free disk space using powershell,但我更愿意避免无限循环。

0 个答案:

没有答案