Following my recent post, Easy vSwitch & PortGroup Setup I thought I would give PrimalForms a go and create a quick GUI, PrimalForms is a great app from Sapien which allows you create form based windows for which it gives you the PowerShell code, this means no install and yet the users still get a great looking GUI.
It turned out pretty good, even if I do say so myself.
Here’s what the script allows you to do:
- Compares one host to another
- Copies vSwitches if they do not currently exist
- Copies PortGroups + VLAN Tags if they do not currently exist
What it doesn’t do at the moment is copy any of the custom settings for the vSwitches or PortGroups.
This is still very much a V1 and it will be added to, I hope to include other areas such as the NTP servers, advanced host configuration etc, if you have an idea then please add it to the comments and I will see what I can do.
To see this in action please check out the below video, this script can easily be run straight from the PowerCLI prompt also.