Set-BluGenieTrapping

Set-BluGenieTrapping

SYNOPSIS

Set-BluGenieTrapping is an add-on to control Remote Host log trapping in the BluGenie Console

SYNTAX

Set-BluGenieTrapping [-SetTrue] [-SetFalse] [-Walkthrough] [<CommonParameters>]

DESCRIPTION

Set-BluGenieTrapping is an add-on to control Remote Host log trapping in the BluGenie Console.

Trap information is captured to both a file and the Event Log. o FilePath = <$env:SystemDrive>\Windows\Temp\BG<$JobID>-<$PID>-<10_Digit_GUID>.log o Event Info: ~ EventLogName = 'Application' ~ Source = 'BluGenie' ~ EntryType = 'Information' ~ EventID = 7114 o Data captured using Posh 2 ~ Data will be logged using ConvertTo-Xml -as String o Data captured using Posh 3 and Above ~ Data will be logged using ConvertTo-JSON

Information Trapped: o JobID o Hostname o Commands o ParallelCommands o PostCommands o FullDumpPath

Command Alias: o Set-BGTrap o SetTrap o Trap (For Help Only - "Trap" is a Posh Built-In Command)

EXAMPLES

EXAMPLE 1

Command: Set-BluGenieTrapping
Description: This will toggle the Trap indicator from (True to False) or (False to True)
Notes:
Output:

EXAMPLE 2

EXAMPLE 3

PARAMETERS

SetTrue

SetFalse

Walkthrough

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Last updated