Message Analyzer Cmdlets in Windows PowerShell

O Windows PowerShell® é um shell de linha de comando baseado em tarefas e uma linguagem de script desenvolvida especialmente para a administração do sistema. Este tópico de referência para os profissionais de TI (tecnologia da informação) oferece assistência para a utilização de cmdlets do Windows PowerShell para criar scripts e automatizar tarefas.

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.

Observação

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

Para obter mais informações sobre qualquer cmdlet ou sua sintaxe, use o cmdlet Get-Help <nome do cmdlet>, em que <nome do cmdlet> é o nome do cmdlet que você deseja pesquisar. Para obter informações mais detalhadas, você pode executar qualquer um dos seguintes cmdlets:

Get-Help <nome do cmdlet> -Detailed
Get-Help <nome do cmdlet> -Examples
Get-Help <nome do cmdlet> -Full

More Information

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