As far as I understand, issue caused by #2038.
Steps to reproduce
(Write-Output -NoEnumerate 1).GetType().FullName
(1 | Write-Output -NoEnumerate).GetType().FullName
Expected behavior
System.Int32
System.Int32
Actual behavior
System.Management.Automation.PSObject[]
System.Management.Automation.PSObject[]
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-beta.8
PSEdition Core
GitCommitId v6.0.0-beta.8-46-ge3397b63e756bf432bbe80f5e9c4407d52d6b5b9
OS Microsoft Windows 10.0.15063
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
As far as I understand, issue caused by #2038.
Steps to reproduce
Expected behavior
Actual behavior
Environment data