Microsoft.PowerShell.Diagnostics Module
本節包含隨 PowerShell Microsoft.PowerShell.Diagnostics 模組一起安裝的 Cmdlet 說明主題,其中包含管理事件記錄檔數據的 Cmdlet。
本課程模組只能在 Windows 平臺上使用。
Microsoft.PowerShell.Diagnostics Cmdlet
| 指令程式 | Description |
|---|---|
| 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. |