Like most things, once you know the basics, it’s really easy to build GUI applications with Windows PowerShell and PowerShell Studio. And, like most things, it’s hard to learn the basics. We’re here to help.
We just posted a two-part series of videos. You can watch them in any order.
- My First Form: Build a Simple PowerShell GUI App is a step-by-step guide to building a little PowerShell GUI app that displays the versions of Windows and Windows PowerShell on your system.
- My First Form: Controls and Properties is like a prequel. It introduces you to the concepts of the Windows Forms controls that we use in the GUI applications. It shows you how to add them to your app and how to find and change their property values. It also introduces you to the SAPIEN Spotlight articles that provide clear, simple help for each control, along with examples written in Windows PowerShell.
If you want more information designed especially for GUI development, see PowerShell GUIs; Where do I start?
To see all of the videos from SAPIEN Technologies, subscribe to our YouTube channel: SAPIENTech. If you have comments, questions, ideas for more videos, be sure to let us know.
@SAPIENTech is there this same type of video for packaging your gui application once built?
@driberif @SAPIENTech Not yet. Would that be helpful? I’m always up for new ideas.
@juneb_get_help @SAPIENTech well I’m ready to package my application and I’m not 100% sure best practice…
@driberif @SAPIENTech Home\Package\Build. Build options are pretty complex, but defaults are best for most projects. I’ll put it on my list.
From the @sapientech blog – My First Form: New Videos for @Windows #PowerShell GUI https://t.co/tslCg3uL8u #DevOps @juneb_get_help
RT @TechTrainerTim: From the @sapientech blog – My First Form: New Videos for @Windows #PowerShell GUI https://t.co/tslCg3uL8u #DevOps @jun…
RT @TechTrainerTim: From the @sapientech blog – My First Form: New Videos for @Windows #PowerShell GUI https://t.co/tslCg3uL8u #DevOps @jun…
Can Forms be coded in PrimalScript also, or is PowerShell Studio needed? I assume it can be done, but probably has to be done manually (ie directly with code instead of the builder)? I only ask because I haven’t yet gotten approval to upgrade to Sapien Software Suite from my current PrimalScript usage at work, so I’m curious about how much more intensive the change would be for an “experienced amateur” user, lol
PrimalScript does include a GUI designer:
https://www.sapien.com/blog/2015/03/19/whats-new-in-primalscript-2015/
But the designer isn’t as feature rich as PowerShell Studio’s.