Skip to content

Start-Transcript in Powershell .NET Interactive notebook hides future output #15651

@daxian-dbw

Description

@daxian-dbw

NOTE: This issue is copied from dotnet/interactive#1430

Once Start-Transcript appears on a PowerShell notebook, any attempt to output to the notebook fails.
See attached notebook for a repro.

As a user that has transcription enabled by default on every execution of PowerShell this is a pain point for making use of Jupyter Notebooks going forward.

Using a simple example PowerShell code block like this when I have transcription enabled on pwsh via regkey

$processes = Get-process | Select Name,ID -Last 10
$processes

Results in this
image

when I then close vscode and re-open it with transcription disabled via reg key it then returns as expected
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions