Skip to content

Out-Default -Transcript does not properly revert TranscribeOnly state, which can suppress displaying any further success output on console #3390

@PetSerAl

Description

@PetSerAl

Steps to reproduce

Out-Default -Transcript | Out-Default -Transcript
#or
& { throw } | Out-Default -Transcript

Expected behavior

Out-Default should properly revert TranscribeOnly state, when it completes execution.

Actual behavior

Any further success output is not displayed on console.

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0}
PSEdition                      Core
PSVersion                      6.0.0-alpha
GitCommitId                    v6.0.0-alpha.17-28-g8c34c8502dc6b5e8da2d11bc089a4a0267fca4dc
WSManStackVersion              3.0
BuildVersion                   3.0.0.0
CLRVersion
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.WG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions