## PowerCLI Reference

# VirtualSwitch - Object

Property of
  VMHostNetworkInfo, VirtualSwitchSecurityPolicy, NicTeamingVirtualSwitchPolicy

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

Returned by
  New-VirtualSwitch, Set-VirtualSwitch

Extends
  VirtualSwitchBase

Properties

Name | Type | Notes
--- | --- | ---
Key | String |
NumPortsAvailable | Int32 |
Nic | String[] |
VMHostId | String |
VMHost | VMHost |
VMHostUid | String |
Uid | String |
Properties inherited from VirtualSwitchBase
Id, Name, NumPorts, Mtu, ExtensionData, Client

Copyright © VMware, Inc. All rights reserved.