Work

Building a PowerShell Analysis Tool in PowerShell — Read Scripts with the AST, Not Regular Expressions (archived 2026-11-13)

Year: 2026
Type: article
Abstract: 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.
Author: Komura, Go
Language: English
Open Access status: green
OpenAlex ID: W7226017930
FWCI:
Cites:
Cited by:
Related to: 10