Important Update: Cohesity Products Knowledge Base Articles
All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.
Problem
How to debug BEMCLI calls in the background when the PowerShell script is executed
Solution
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 <path to file>
Turn off Debugging for the host machine:
Set-BETraceSource -RemovePSHost