Previously, I wrote an article on using AST and a specific ‘gotcha’ that I encountered, as well as how to work around it. If you haven’t read that article, I’d encourage you to do so. The Trouble with AST in PowerShell Today, I’m back with a new wrinkle, another work around, and a bit of …
Continue reading Parsing PowerShell – A Follow-Up
Month:April 2023
Read Text Content (w/o Unzipping)
What’s this? Another post? Yep, I’m on a roll. This particular installment will be relatively quick, as such things go, but I hope it will also be valuable. Use Case: View text in a Zip file, without extracting the file to disk First off, if you just want to know how to extract or compress …
Continue reading Read Text Content (w/o Unzipping)
The Trouble with AST in PowerShell
Ok, if you are new to PowerShell, you aren’t going to have a clue what this ‘AST’ thing even is. AST has been covered extensively by others in the past, so I won’t go into details here (just Google PowerShell and ast). In brief, AST stands for Abstract Syntax Tree, and its purpose is to …
Continue reading The Trouble with AST in PowerShell