Microsoft.PowerShell.Diagnostics Module

本部分包含有关 cmdlet 的帮助主题,这些 cmdlet 是随 PowerShell Microsoft.PowerShell.Diagnostics 模块一起安装的,该模块内的 cmdlet 用于管理事件日志中的数据。

Microsoft.PowerShell.Diagnostics Cmdlet

Cmdlet 说明
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.