PowerCLI: vProfiles
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.
vProfiles from Alan Renouf on Vimeo.
To download the script check below:







about 8 months ago
This is very awesome Alan. Fantastic work on this!!!
about 8 months ago
Thanks Kenny, anything you think would be useful to add let me know !
NTP
Advanced Host settings
ETC
about 8 months ago
This would be beautiful:
iSCSI enable and config
Security Profile: NFS enable, NTP enable, SNMP and so on
License Server Source: populate from source host
DNS and Routing: populate domain and DNS servers from source host?
alex AT myra.com
about 7 months ago
@Alex
All great ideas, getting excited about V2 now
about 3 months ago
Alan,
This script seems to mushroom cloud when run against vSphere. Are there any specific requirements?
about 3 months ago
@Ken
To be honest I didnt try it on vSphere but will do now, It should work, unless of course you are using dvSwitches !