PowerShell: Print to Screen
Print to Screen
- print to screen. Useful for prompting user.
Print to Screen or Pipe
- print to screen or sent it to the pipeline, if there is a pipe.
Command Output are Automatically Printed to Screen
send output to screen.
Out-Hostis automatically appended to every command that is executed.
Suppress Command Output
# suppress command output mkdir dirName | Out-Null
# suppress command output. most efficient $null = mkdir dirName