About
To discard the output of a command, you don't set the echo to off as in DOS but you send it to Out-Null
same as /dev/null on Linux
Articles Related
Example with new Item
New-Item -Path . -Name "testfile1.txt" -ItemType "file" | Out-Null
To discard the output of a command, you don't set the echo to off as in DOS but you send it to Out-Null
same as /dev/null on Linux
New-Item -Path . -Name "testfile1.txt" -ItemType "file" | Out-Null