Hi,
Is your VC installed on a harware or is it installed in a VM?
If it sits on a hardware maybe you can retrieve it with
HostSystem -> HostConfigManager -> HostNetworkSystem -> HostNetworkInfo (or config)
There is a entity HostPortGroup portgroup, But im a noob and never made it.
Maybe it helps.
Christian