add form to current PS script

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
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.
This topic is 1 year and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
IThomas_work
Posts: 2
Last visit: Tue May 31, 2022 12:36 pm

add form to current PS script

Post by IThomas_work »

Hi

I have a number of PS scripts and I want to see how easy it is to add a gui(from) to one of them, is there a simple way I can add the form to a script and populate its VARs?
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 3:14 pm
Answers: 39
Been upvoted: 30 times

Re: add form to current PS script

Post by brittneyr »

If you want to add a form and use PowerShell Studio's designer, you will need to create a psf file. There are a number of templates to help you get started.

To learn more about psf files, please refer to the following:
https://www.sapien.com/blog/2022/01/04/ ... ll-studio/
Brittney
SAPIEN Technologies, Inc.
This topic is 1 year and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked