0

I have been researching the better part of the morning and I have come across an issue, we have a Powershell file that one of the other Admins made which has a decent GUI, however he has left since it has been made and I was told that it needed to be updated. the issue is that he was using Powershell Studio which I got his copy of but it isn't loading the GUI for me to edit. is there any other ways of editing a .PS1 file with a GUI in it?

8
  • 1
    Have you tried using the "PowerShell ISE"? I use it to edit my .ps1 files all the time and it provides debugging and intellisense.
    – skukx
    Jun 1, 2015 at 18:53
  • @skukx I looked at it I just wasn't sure if there was a way to "graphically" edit it, but hard coding may be the only way to go.
    – Luke
    Jun 1, 2015 at 20:16
  • Sharing an example of the "GUI in it" to which you are referring might clear up exactly what you are asking. I'm not sure I follow as your question stands. Is the GUI in question a PowerShell dev tool GUI or a GUI that the PowerShell script in question presents at runtime?
    – J0e3gan
    Jun 1, 2015 at 21:57
  • Has your "Admin" used Powershell Studio to create the GUI? Powershell Studio can only edit GUI for scripts created in Powershell Studio. Jun 2, 2015 at 0:22
  • 1
    @Luke In that case you won't be able to edit it in PS Studio, but there is nothing stopping you from opening it in your favourite editor and doing it by hand. Jun 2, 2015 at 20:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.