How to debug BEMCLI calls in the background when the powershell script is executed

book

Article ID: 100026892

calendar_today

Updated On:

Resolution

Log errors on Host :

Set-BETraceSource Verbose -PSHost

This command starts BEMCLI tracing for information level events and logs them to the Windows PowerShell host. PSHost - logs on Host and output is displayed on screen

Pipe to Debugger:

Set-BETraceSource Verbose -Debugger

Third party debug checkbox needs to be selected in SGMON

When debugging has been completed, turn off verbose debugging with the switch

Set-BETraceSource Verbose -RemoveDebugger

Debug to FilePath:

Set-BETraceSource Verbose -FilePath
 

Turn off Debugging for the host machine:

Set-BETraceSource -RemovePSHost

Issue/Introduction

How to debug BEMCLI calls in the background when the PowerShell script is executed