Expand description
PSADT Legacy format parser.
Parses log lines produced by PSAppDeployToolkit v4 with LogStyle = 'Legacy':
[2024-12-24 14:44:13.658] [Install] [Start-ADTMsiProcess] [Error] :: Message text here
Fields extracted:
- timestamp (yyyy-MM-dd HH:mm:ss.fff)
- section (Initialization, Pre-Install, Install, Post-Install, Finalization)
- source (PSADT function name, e.g. Close-ADTSession)
- severity (Info, Warning, Error, Success)
- message (everything after
::)
Functions§
- matches_
psadt_ legacy_ content - Detection helper: returns a weight indicating how likely the line is PSADT Legacy format.
- parse_
lines - Parse all lines as PSADT Legacy format. Lines that don’t match the format fall back to plain text entries with text-based severity detection.