Use existing .ps1 file with form in script
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Use existing .ps1 file with form in script
Hi, I'm new to PowerShell Studio. I've got existing PowerShell scripts (.ps1) that I've included form controls to gather and display data. How can I bring these into PowerShell Studio so I can turn the form portion of the script into a .psf file for easy updating, etc? This would effectively import the ps1 file and turn it into a form project.
Re: Use existing .ps1 file with form in script
There is no way to convert a PS1 form into a PSF form. You will have to rebuild your form in PSS. Give it a try. It is not that hard. Add all controls and events then copy your PS1 event code to the correct events. A little debugging and you are set.