Command/Environment/ShowConfig.ps1


 param 
 (
    [bool]$Blocking = $true
 )

Import-Module CmxModule -Force -DisableNameChecking
SetWindowTitle $MyInvocation.MyCommand.Name

Write-Output "The following global variables are currently in effect."
Write-Output "If you like to change them, edit the CMX config.json file."
Write-Output "The path to the config.json file can be retrieved by command CmxGetConfigPath."
Write-Output ""

CmxWriteGlobals

Write-Output ""

if($Blocking)
{
    Read-Host "Press key to exit"
}