VMware Cloud Community
vin01
Expert
Expert

GUI based tool for executing invoke-vmscript

I am trying to develop a front end application(GUI) using powershell  but I am not clear from where to start. Can someone please suggest any tools or blogs if already exists.

Or if any existing opensource applications for vMware Vms guestos management which can work using vmwaretools as a communication agent.

Scenario: In an environment I need to perform multiple operations inside the guest OS. To achieve this I am using vmware tools as agent for all the communications. The invoke-vmscript cmdlet which is succeeded almost in all operations which I executed. So my thought is to design a simple GUI based tool which contains something like this.

1. vCenter Name all the predefined vcenternames in a dropdownbox.

2. User Name and Password in a text box.

3. A combobox which contains a list of scripts which we can execute.

4. A combobox with vmnames( In backend I will update RVtools report for daily which contains vmnames) If I select a specific vcenter in step one it will display list of vms resides on that vcenter). Once the vm is selected the script listed in step  3 will execute.

5. Status bar which will show the out put of the executed script.

Sample:

pastedImage_4.png

Regards Vineeth.K
0 Kudos
3 Replies
LucD
Leadership
Leadership

There are many GUI builders available, community contributed and commercial.

Just a few:

PoshGUI

PowerShell Studio 2019

The alternative is to start from scratch and just use code.

How to Create a GUI for PowerShell Scripts?

Building a PowerShell GUI (Part 1)

If you are looking for examples, I have some on my blog

Event-O-Matic

Stats Toolbox – A VSphere Server Performance Counter Tool


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

vin01
Expert
Expert

Thanks for your suggestion LucD. The below shared examples are very helpful.

Is there any existing tool which works using invoke-vm function?

Regards Vineeth.K
0 Kudos
LucD
Leadership
Leadership

I don't immediately know of any example I'm afraid.
But whether or not you use Invoke-VMScript, the GUI part should be independent of that part of the code.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos