Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

Using SAPIEN PowerShell Studio


In the previous section, we discussed how we can utilize WinForms to give a frontend to our scripts. But doing it manually is really painful. To build a simple tool such as the one we have built, we had to write 421 lines of code. We can simplify all these with the use of PowerShell Studio 2015 by SAPIEN. SAPIEN earlier had a free community edition Primal Forms, which has since been discontinued. PowerShell Studio 2015 is a paid version, but if you create a lot of GUIs using WinForms in PowerShell, then this is an invaluable tool for you. It comes with a 45-day trial period so that you can try it before making the final decision. Without wasting much time, let's start the discussion about building a GUI using this tool.

We will start by creating a New Form Project:

We give it the name TextBox_PStudio:

This gives us a blank form:

On the left-hand side, we can see that there is a Toolbox option. There are all kinds of control and control sets available in Toolbox...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath