Synopsis
Reads%ltsvcdir%\LTErrors.txt (typically C:\Windows\LTSVC\LTErrors.txt) and parses each entry into a structured PSCustomObject. The BasePath is resolved via Get-LTServiceInfo; when that is unavailable it falls back to %windir%\LTSVC.
Get-LTError is an alias for the underlying Get-LTErrors function.
Log entries are delimited by ::: and each entry is tab-separated into three fields: service version, timestamp, and message.
Syntax
Parameters
This command has no named parameters. It accepts only PowerShell common parameters.Return Values
Returns a collection ofPSCustomObject items, one per log entry.
The version string of the LTSvc service that wrote the log entry.
The parsed date and time the entry was written. Parsed with
[datetime]::Parse() for broad international locale support; entries that cannot be parsed produce an empty value.The error or status message text for the log entry.