Hey all,
Have a question on how to script up implementing multiple DVPort Groups with different VLAN requirements. I've got a little bit of an idea but my lack of Powershell skill is holding me back. So I'm not sure how to implement the ForEach with multiple variables
Thanks all
$DVPortGroupNames = @("PortGroup#1","PortGroup#2","PortGroup#3","PortGroup#4).....and so on
$VLANIDs = @("VLANID1","VLANID2","VLANID3","VLANID4") and so on......
$VDPortGroupNotes = xxxxxxxxxxxxxxxxxxxx
ForEach ($DVPortGroupName in $DVPortGroupNames) {
Get-VDSwitch -Name switchname | New-VDPortGroup -Name $DVPortGroupName -Notes $VDPortGroupNotes -VLANId $VLANIDs
}