Skip to main content

Synopsis

Stops the LabTech service, writes the selected logging level to HKLM:\SOFTWARE\LabTech\Service\Settings (Debuging key), then restarts the service. Calls Get-LTLogging on success to confirm the new value.

Syntax

Exactly one of -Normal or -Verbose must be provided. The cmdlet throws a terminating error if neither switch is supplied.

Parameters

switch
Sets the logging level to Normal. Writes registry value Debuging = 1.
switch
Sets the logging level to Verbose. Writes registry value Debuging = 1000. Use this level when troubleshooting agent connectivity or behavior.

Examples

Set logging to normal:
Set logging to verbose for troubleshooting:
Confirm the result immediately after setting: