Why do I get a “Get-WindowSize” not implemented error when using the PowerShell call Get-Service on a remote machine?

Question:

I have a Windows 10 host machine that connects to a Hyper-V Windows 10 VM hosted on the same box.
I’ve been following along the Pluralsight PowerShell tutorial.
I’m trying to get the services available on a remote computer.

I can start a session on the remote computer with the following command:

Once the session has started and I am connected, I attempt to call Get-Service to identify the services on the client computer.

When I run the above command, I get the following error message:

I am running the same version of PowerShell on the host and client machines (5.1.18362.145).
I assume that somehow this is an issue on the client machine?

Answer:

[Client1]: PS C:\Users\username\Documents>Get-Service | out-string

That should work, maybe a bug with PowerShell or new version of Windows 10

Other link : https://social.technet.microsoft.com/Forums/en-US/67142783-2acd-4d54-aef2-8d89d71457c5/powershell-remoting-broken-in-windows-10-1903?forum=winserverTS

Source:

Why do I get a “Get-WindowSize” not implemented error when using the PowerShell call Get-Service on a remote machine? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply