Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/LabtechConsulting/LabTech-Powershell-Module/llms.txt

Use this file to discover all available pages before exploring further.

Synopsis

Reads the Debuging value from the agent’s registry (HKLM:\SOFTWARE\LabTech\Service\Settings) and returns a human-readable string describing the current logging level.

Syntax

Get-LTLogging [<CommonParameters>]

Parameters

This cmdlet has no additional parameters beyond the common PowerShell parameters (-Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable).

Return value

Returns a string describing the active logging level:
Registry valueOutput
1Current logging level: Normal
1000Current logging level: Verbose
An error is written if the registry value is absent or set to an unrecognized value.

Examples

Display the current logging level:
Get-LTLogging