Set-HPCMSLLogFormat



Summary

Sets the format used by the Write-Log* commands

Syntax

Set-HPCMSLLogFormat [-Format] {Simple | CMTrace} [<CommonParameters>]

Description

This command sets the log format used by the Write-Log* commands. The two formats supported are simple (human readable) format and CMtrace format used by configuration manager.

The format is stored in the HPCMSL_LOG_FORMAT environment variable. To set the default format without using this command, update the variable by setting it to either 'Simple' or 'CMTrace' ahead of time.

The default format is 'Simple'.

Parameters

Name Argument Description
Format <LogType> Specifies the log format. The value must be one of the following values:
- Simple: human readable
- CMTrace: XML format used by the CMTrace tool

Examples


PS C:\> Set-HPCMSLLogFormat -Format CMTrace

See also