Microsoft.PowerShell.Diagnostics

本節包含隨 PowerShell Microsoft.PowerShell.Diagnostics 模組一起安裝的 Cmdlet 說明主題,其中包含管理事件記錄檔數據的 Cmdlet。

Microsoft.PowerShell.Diagnostics

Export-Counter

Exports performance counter data to log files.

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.

Import-Counter

Imports performance counter log files and creates the objects that represent each counter sample in the log.

New-WinEvent

Creates a new Windows event for the specified event provider.