Write-Output writes objects to the success pipeline. To have output appear only on screen use write-host or Write-Warning instead.

If an unquoted string of characters is passed to write-output, they will be implicitly treated as a string,
so write-output hello is equivalent to:write-output "hello" and write-output hello world is equivalent to:write-output "hello" "world"
Note this is not the same as
write-output "hello world"

Write-Output may be used to display strings and other objects on the console. However, because the
default behavior is to display the objects at the end of a pipeline, it is generally not necessary to use Write-Output. For example, get-process | write-output is equivalent to get-process