Since the introduction of the PowerShell Console, I was never able to use it because each time I tried to connect I had the message 'Connection Closed'.
I always used Chrome as my main machine has 2012 R2 as OS.
Today I tried from a Windows 10 machine and it worked with Edge; with Chrome, it isn't still working.
There is known issue with chrome web browser using powershell.
Here is a link for reference:
Unfortunately the same happens on Edge it goes as far as entering the password and then closes the connection. WAC v.1808
I am getting the same error on Edge..