From 0afec2a6d9f9f49ae1f35858959cc08a9f0c53ba Mon Sep 17 00:00:00 2001 From: Yuriy Samorodov Date: Fri, 23 Feb 2018 19:41:22 +0300 Subject: [PATCH 1/2] Updated description --- reference/5.1/Microsoft.PowerShell.Core/Out-Null.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md b/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md index 9eddffae6e78..62227a15cf4c 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md +++ b/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md @@ -21,7 +21,7 @@ Out-Null [-InputObject ] [] ## DESCRIPTION The **Out-Null** cmdlet sends its output to NULL, in effect, removing it from the pipeline and -preventing the output to be displayed at the screen. +preventing the output to be displayed at the screen. Please note though that exceptions will be displayed anyway, so this comes very handy when you want to test your command against any errors. ## EXAMPLES From 3e33760762aa9ad59ce5a1cf45b1ede715693802 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Fri, 23 Feb 2018 10:59:34 -0800 Subject: [PATCH 2/2] Adding note about other output streams --- reference/5.1/Microsoft.PowerShell.Core/Out-Null.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md b/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md index 62227a15cf4c..43d17ed48e63 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md +++ b/reference/5.1/Microsoft.PowerShell.Core/Out-Null.md @@ -21,7 +21,9 @@ Out-Null [-InputObject ] [] ## DESCRIPTION The **Out-Null** cmdlet sends its output to NULL, in effect, removing it from the pipeline and -preventing the output to be displayed at the screen. Please note though that exceptions will be displayed anyway, so this comes very handy when you want to test your command against any errors. +preventing the output to be displayed at the screen. Ihis only affects the standard output stream. +Other output streams, like the Error stream are not affected. Exceptions will be displayed. This +makes it easier to test your command for any errors. ## EXAMPLES