Enable remote edit on Windows
When I am connected to a Windows host through Enter-PSSession, I sometimes need to make a quick change to a configuration file. Starting Notepad is not the answer: a graphical window belongs to an interactive desktop, and PowerShell remoting does not forward that desktop to the machine where I am sitting. Other GUI editors have the same basic limitation. A terminal editor is the right shape for a remote shell, but the transport matters: SSH gives a conventional terminal, while a WinRM PowerShell session is a remoting host, not a complete remote console. ...