Search

System.Console doesn't work in remote session by SadMacc

Active

1
1
Sign in
to vote
Type: Bug
ID: 769488
Opened: 11/1/2012 11:36:36 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
In a local console:
[System.Console]::WriteLine("mytext")
...outputs the text.

In a remote console:
Invoke-Command -cn myserver { [System.Console]::WriteLine("mytext") }
...doesn't output the text.

How can I get the System.Console working in remote sessions?
Details (expand)
How often does this happen?
Always Happens

Have you seen this problem before in this product?

Yes, this happens in all previous versions
Reproduction Steps
See code above.
Expected Results
Remote sessions should output text with System.Console.
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.