pub fn assert_single_powershell_statement(command: &str) -> Result<()>
Reject PowerShell input that chains statements: ;, newlines, or the &&/|| chain operators outside quotes. A single pipeline is allowed.
;
&&
||