Message Analyzer Cmdlets in Windows PowerShell

Windows PowerShell® è una shell della riga di comando basata su attività, nonché un linguaggio di scripting progettato specificamente per l'amministrazione del sistema. Questo argomento di riferimento per i professionisti IT fornisce supporto per l'utilizzo dei cmdlet di Windows PowerShell per creare script per le attività e la relativa automatizzazione.

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.

Nota

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

Per altre informazioni sui cmdlet o sulla relativa sintassi, usare il cmdlet Get-Help <nome cmdlet>, dove <nome cmdlet> è il nome del cmdlet per cui si vuole eseguire ricerche. Per informazioni più dettagliate, eseguire uno dei cmdlet seguenti:

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

More Information

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