PowerShell: Suppress Command Output

By Xah Lee. Date: .

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

PowerShell. Input, Output