I’ve been using PowerShell 5.0 transcripts and to save some space (2/3 actually), I’ve written the following code snippet to compress these files.
The compression ratio formula is taken from this Wikipedia page
$PSTranscripts is a string that points the location where my transcripts are stored (the same location set by GPO). It can be for example: C:\Transcripts
Now, we need the equivalent of bzgrep in the Windows world to be able to parse compressed files 😉