- attached remote_files_editing.gif
psedit support
Issue #18
resolved
One remaining obvious advantage of using VS Code or the Powershell ISE over the JetBrains plugin is psedit in an integrated powershell session.
It would be very handy to edit remote Windows files like this.
Official response
Comments (4)
-
repo owner -
repo owner fixed version:
1.1.1
.To edit remote files use integrated PowerShell Console: Tools | PowerShell Console... action.
Example:
- Open console: Tools | PowerShell Console... and in this PowerShell session log in to a remote host with
Enter-PSSession
PowerShell command, e.g.:
Enter-PSSession -HostName 127.0.0.1 -UserName Andrey
- Then open remote file with
psedit
command, e.g.:
psedit ./script1.ps1
Now you can edit the file (which is actually opened in a temporarily location on your local host) and console terminal session will automatically be saving it on a remote host.
Here is a short video recap:
- Open console: Tools | PowerShell Console... and in this PowerShell session log in to a remote host with
-
repo owner - changed status to resolved
-
repo owner -
assigned issue to
-
assigned issue to
- Log in to comment
fixed version:
1.1.1
.To edit remote files use integrated PowerShell Console: Tools | PowerShell Console... action.
Example:
Enter-PSSession
PowerShell command, e.g.:psedit
command, e.g.:Now you can edit the file (which is actually opened in a temporarily location on your local host) and console terminal session will automatically be saving it on a remote host.
Here is a short video recap:![remote file edit](https://bitbucket.org/adernov/powershell/issues/attachments/18/adernov/powershell/1529580003.05/18/remote_files_editing.gif)