Home Dashboard Directory Help
Search

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


Status: 

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)
view
0
User(s) can reproduce this bug

Description

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
Sign in to post a comment.
Sign in to post a workaround.