Expand description
PowerShell execution utilities.
This module provides PowerShell command parsing, execution, and security analysis.
Structs§
- Command
Element Child - A child node of a command element
- Parsed
Command Element - A command invocation within a pipeline
- Parsed
Power Shell Command - Complete parsed PowerShell command
- Parsed
Redirection - Redirection
- Parsed
Statement - A statement in the PowerShell command
- Pipeline
Segment - Pipeline segment
- Security
Flags - Security flags derived from parsing
Enums§
- Command
Element Type - Command element type (AST node classification)
- Pipeline
Element Type - Pipeline element type
- Statement
Type - Statement type
Constants§
- PS_
TOKENIZER_ DASH_ CHARS - Alternative parameter prefix characters
Functions§
- build_
powershell_ command - Build a PowerShell command that outputs as UTF-8
- build_
powershell_ command_ utf8 - Build a PowerShell command with UTF-8 output encoding
- derive_
security_ flags - Derive security flags from parsed command
- escape_
powershell_ string - Escape a string for use in PowerShell
- get_
powershell_ version - Get the PowerShell version
- is_
powershell_ available - Check if PowerShell is available
- is_
powershell_ parameter - Check if a string is a PowerShell parameter
- parse_
powershell_ command - Parse a PowerShell command string into components