Building a PowerShell Analysis Tool in PowerShell — Read Scripts with the AST, Not Regular Expressions (archived 2026-11-13)
Display a real PowerShell AST and see what object each line of code becomes. Walk from ScriptBlockAst to CommandAst and find where Write-Host is called, excluding comments and ordinary strings. Archived version of https://comcomponent.com/en/blog/powershell-ast-script-analysis-tool/, as published on 2026-11-13. The live article is maintained and may change after this date. First published 2026-09-13.
Authors
- Go Komura (ORCID: https://orcid.org/0009-0008-8895-8390)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-13
- DOI
- https://doi.org/10.5281/zenodo.24196429
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00