共用方式為


Microsoft.PowerShell.Diagnostics

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

Microsoft.PowerShell.Diagnostics

Export-Counter

將性能計數器數據匯出至記錄檔。

Get-Counter

從本機和遠端電腦取得性能計數器數據。

Get-WinEvent

從本機和遠端電腦上的事件記錄檔和事件追蹤記錄檔取得事件。

Import-Counter

匯入性能計數器記錄檔,並建立 物件,代表記錄中的每個計數器範例。

New-WinEvent

為指定的事件提供者建立新的 Windows 事件。