Message Analyzer Cmdlets in Windows PowerShell

Windows PowerShell® 是工作型命令列殼層和指令碼語言,專為系統管理所設計。本參考主題適用於資訊技術 (IT) 專業人員,提供利用 Windows PowerShell Cmdlet 以執行指令碼和自動化工作的協助。

Message Analyzer Cmdlets

This reference provides cmdlet descriptions and syntax for all Message Analyzer cmdlets that are supported by the Protocol Engineering Framework (PEF). It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

You need to be a member of the Message Capture Users Group and the Performance Log Users Group to run Message Analyzer cmdlets.

Cmdlet Description

Add-PefMessageSource

Adds message sources to a PEF Trace Session.

Add-PefProviderConfig

Adds a provider to a remote Trace Session on a target host.

Invoke-PefCustomAction

Creates a PEF action that runs a script block.

New-PefDateTimeTrigger

Creates a trigger that signals at the specified time.

New-PefEventLogTrigger

Creates a trigger that signals when an event log logs an entry.

New-PefKeyDownTrigger

Creates a trigger that signals when a user presses a key.

New-PefMessageTrigger

Creates a trigger based on detecting a filter match for a specific message in a PEF Trace Session.

New-PefProcessTrigger

Creates a trigger that signals when a process exits.

New-PefTargetHost

Creates a target host object for a PEF Live Trace Session.

New-PefTimeSpanTrigger

Creates a trigger that signals after the specified time span.

New-PefTraceSession

Creates a PEF Trace Session.

New-PefWin32EventTrigger

Creates a trigger that signals when a specified Win32 system event is raised.

Save-PefDataCollection

Saves the data from a PEF Trace Session.

Set-PefTraceFilter

Sets a Trace Filter for a PEF Trace Session.

Start-PefTraceSession

Starts a PEF Trace Session.

Stop-PefTraceSession

Stops a PEF Live Trace Session.

注意

To list all the cmdlets that are available, use the Get-Command –Module PEF cmdlet.

如需有關任何 Cmdlet 的詳細資訊或其語法,請使用 Get-help <Cmdlet 名稱> Cmdlet,其中 *<Cmdlet 名稱>*是您想要研究的 Cmdlet 的名稱。如需詳細資訊,您可以執行下列任何 Cmdlet:

Get-Help <Cmdlet 名稱> -Detailed
Get-Help <Cmdlet 名稱> -Examples
Get-Help <Cmdlet 名稱> -Full

More Information

For more information about Microsoft Message Analyzer and the cmdlets that it supports, see the following documentation: