## PowerCLI Reference

# VirtualPortGroup - Object

Property of
  VirtualPortgroupSecurityPolicy, NicTeamingVirtualPortGroupPolicy

Parameter to
  Set-VirtualPortGroup, Remove-VirtualPortGroup, Get-NicTeamingPolicy, Add-VirtualSwitchPhysicalNetworkAdapter, Get-SecurityPolicy

Returned by
  Set-VirtualPortGroup, New-VirtualPortGroup

Extends
  VirtualPortGroupBase

Properties

Name | Type | Notes
--- | --- | ---
VirtualSwitchId | String |
VirtualSwitchUid | String |
Port | PortGroupPort[] |
VLanId | Int32 |
VirtualSwitchName | String |
VMHostId | String | Deprecated. As of PowerCLI 5.0 use VirtualSwitch.VMHostId property instead.
VMHostUid | String |
Uid | String |
Properties inherited from VirtualPortGroupBase
Name, VirtualSwitch, Key, ExtensionData

Copyright © VMware, Inc. All rights reserved.