How can I edit a remote script using the ISE?

Probably a very simple answer to this question, but I can’t seem to figure this out.

How can I edit a script that’s stored on a remote machine using the ISE on my local workstation?

Hi Marco,

  1. The old way.

Open the remote script via the admin shares of the remote machine or any other custom share


  1. New since Windows Management Framework (PowerShell) v5 September Preview -

a) Open PowerShell ISE on your local machine
b) Select Remote PowerShell Tab from the File menu
c) Enter the remote machine name and connect
d) Using the Remote console within your ISE execute the PSEdit function:

PSEdit C:\Windows\system.ini

I hope that answers your question.