Ok, you want to add a number of Portgroups?
That is quite straightforward.
Does the switch already exist?
From your screenshot it looks as if this is a VSS.
Correct?
In that case you could do something like this
$esxName = 'MyEsx'$vssName = 'vSwitch1'
$esx = Get-VMHost -Name $esxName
$vss = Get-VirtualSwitch -Name $vssName -VMHost $esx
Import-Csv -Path .\pg.csv |
ForEach-Object -Process {
New-VirtualPortGroup -VirtualSwitch $vss -Name $_.'Network Label' -VLanId $_.'VLAN ID'
}