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

Status : 


Sign in
to vote
ID 769488 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 11/1/2012 11:36:36 AM
Access Restriction Public


In a local console:
...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?
Sign in to post a comment.