Skip to content

Commit 96eb9c2

Browse files
SteveL-MSFTsdwheeler
authored andcommitted
Fix #3815 (#4067)
1 parent b3bbf91 commit 96eb9c2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

reference/6/Microsoft.PowerShell.Utility/Write-Output.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
keywords: powershell,cmdlet
44
locale: en-us
55
Module Name: Microsoft.PowerShell.Utility
6-
ms.date: 06/09/2017
6+
ms.date: 03/28/2019
77
online version: http://go.microsoft.com/fwlink/?LinkId=821878
88
schema: 2.0.0
99
title: Write-Output
@@ -88,6 +88,12 @@ By default, the **Write-Output** cmdlet always enumerates its output.
8888
The *NoEnumerate* parameter suppresses the default behavior, and prevents **Write-Output** from enumerating output.
8989
The *NoEnumerate* parameter has no effect on collections that were created by wrapping commands in parentheses, because the parentheses force enumeration.
9090
91+
> [!NOTE]
92+
> This switch only works correctly with PowerShell Core 6.2 and newer. On older
93+
> versions of PowerShell Core, the collection is still enumerated even with
94+
> use of this switch. The behavior in PowerShell Core 6.2 is consistent with
95+
> Windows PowerShell.
96+
9197
```yaml
9298
Type: SwitchParameter
9399
Parameter Sets: (All)

0 commit comments

Comments
 (0)