Set-BluGenieTrapping
Set-BluGenieTrapping
Set-BluGenieTrapping is an add-on to control Remote Host log trapping in the BluGenie Console
Set-BluGenieTrapping [-SetTrue] [-SetFalse] [-Walkthrough] [<CommonParameters>]
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)
Command: Set-BluGenieTrapping
Description: This will toggle the Trap indicator from (True to False) or (False to True)
Notes:
Output:
Command: Set-BluGenieTrapping -SetTrue
Description: This will set the Trap indicator to True
Notes:
Output:
Command: Set-BluGenieTrapping -SetFalse
Description: This will set the Trap indicator to False
Notes:
Output:
-SetTrue [<SwitchParameter>]
Description: Set Trapping Information Flag to $true
Notes:
Alias:
ValidateSet:
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SetFalse [<SwitchParameter>]
Description: Set Trapping Information Flag to $false
Notes:
Alias:
ValidateSet:
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Walkthrough [<SwitchParameter>]
Description: An automated process to walk through the current function and all the parameters
Notes:
Alias:
ValidateSet:
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
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 modified 1yr ago