Here is a better explanation of what I’m thinking. For example, lets say I want to have 5 fields in my csv file, in the following order, that create a port group called “mgt-pg1”.
- Name = Name of Port Group (in this example, the name should be “mgt-pg1”)
- Description = Description of Port Group ( I want the description field in the properties sheet for the port group to read “Management Port Group Number 1”
- ActiveUplinkNames= Identifies which uplinks (which will already have been defined in the vDs) will be identified as “Active” uplinks for this port group. For example, I want to use 2 uplinks, already defined in the vds, called “dvuplink1” and “dvuplink2”. I want both links to be active. I don’t need any standby uplinks.
- NumPorts =Number of Ports to use for the Port Group ( I want to have 64 ports on this port group)
- VlanID = VLAN ID (my vlan ID is 220)
So I want a CSV file that has a line for this port group, something like:
Mgt-pg1, “Management Port Group Number 1”, {dvUplink1,dvUplink2}, 64, 220
Then I want to be able to use these 5 settings to define my port group using PowerCLI.
Thanks again