Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Set-TraceSource

Set-TraceSource - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Configures, starts, and stops a trace of Windows PowerShell components.

Set-TraceSource [-Name] <String[]> [[-Option] <PSTraceSourceOptions>] [-Debugger] [-FilePath <String>] [-Force] [-Liste
nerOption <TraceOptions>] [-PassThru] [-PSHost] [<CommonParameters>]
Set-TraceSource [-Name] <String[]> [-RemoveFileListener <String[]>] [<CommonParameters>]
Set-TraceSource [-Name] <String[]> [-RemoveListener <String[]>] [<CommonParameters>]

The Set-TraceSource cmdlet configures, starts, and stops a trace of a Windows PowerShell component. You can use it to s
pecify which components will be traced and where the tracing output is sent.