How can I edit a remote script using the ISE?

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Daniel Krebs Daniel Krebs 2 years, 9 months ago.

  • Author
  • #18663
    Profile photo of Marco Janse
    Marco Janse

    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?

  • #18664
    Profile photo of Daniel Krebs
    Daniel Krebs

    Hi Marco,

    1. The old way.

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


    2. 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.


You must be logged in to reply to this topic.