My current output to the command
Get-Content -Path $logFilePath
is the following:
Transcript started, output file is \\<path>\
7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Open archive: \\<path>\<archive>.zip
--
Path = \\<path>\<archive>.zip
Type = zip
Physical Size = 2543
Scanning the drive:
6 folders, 9 files, 9757 bytes (10 KiB)
Creating archive: \\<path>\<archive>.zip
Add new data to archive: 0 files, 0 bytes
Files read from disk: 0
Archive size: 22 bytes (1 KiB)
Everything is Ok
What is the best way to filter the output, so that it looks something like this
7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
New Data Added: 0 files
New Data Size: 0 bytes
Archive size after new backup: 22 bytes (1 KiB)
All Help is appreciated - Tortellini