pub fn powershell_file_from_commands(
c: Vec<(String, String)>,
pnum: &String,
wait: &String,
suffix: &String,
) -> Vec<String>Expand description
Apply PowerShell formatting to the Command lines in a process
- Comments are applied with lines starting with the “#” character
- “Write-Host” used to output to stdout
- “Read-Host” used to wait for operator to proceed (if “wait”)
*This function is used for the “powershell” SCRIPT-FORMAT option