Microsoft.PowerShell.Diagnostics Module

本節包含使用 PowerShell Microsoft 安裝的指令小子的說明主題。PowerShell.Diagnostics 模組,包含管理事件日誌資料的指令檔。

此模組僅在 Windows 平台上提供。

Microsoft。PowerShell.Diagnostics Cmdlets

指令程式 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.