Microsoft.PowerShell.Diagnostics Module
本部分包含随 PowerShell Microsoft一起安装的 cmdlet 的帮助主题。PowerShell.Diagnostics 模块,其中包含管理事件日志中的数据的 cmdlet。
此模块仅在 Windows 平台上可用。
Microsoft。PowerShell.Diagnostics Cmdlet
| Cmdlet | 说明 |
|---|---|
| Get-Counter |
Gets performance counter data from local and remote computers. |
| Get-WinEvent |
Gets events from event logs and event tracing log files on local and remote computers. |
| New-WinEvent |
Creates a new Windows event for the specified event provider. |