PowerShell: Suppress Command Output
to suppress command output, either assign it to $null
or pipe to out-null
# suppress command output mkdir dirName | Out-Null
# suppress command output. most efficient $null = mkdir dirName
to suppress command output, either assign it to $null
or pipe to out-null
# suppress command output mkdir dirName | Out-Null
# suppress command output. most efficient $null = mkdir dirName