When you connect to a remote machine via Enter-PSSession
in the ISE editor and run commands, the output does not show. Instead, an error message is thrown.
Remote host method get_WindowSize is not implemented.
+ CategoryInfo : ResourceUnavailable: (:)
[out-lineoutput], PSRemotingDataStructureException
+ FullyQualifiedErrorId :
System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.PowerShell.Commands.OutLineOutputCommand
This bug seems to be fixed in Windows build 1909. [:.warning]
The PowerShell Team is working on a fix. Meanwhile, you can work around this bug by piping command output to Format-List
or Format-Table
:
Get-Service | Format-List
# or:
Get-Service | fl
Please leave a comment if you have additional information or questions.
PREVIOUSSelect Object