## PowerCLI Reference

# VirtualSwitchRelatedObject - Object

Extends
  VirtualSwitchRelatedObjectBase

Properties

Name | Type | Notes
--- | --- | ---

Methods

Methods defined in this object
ToVirtualSwitch

## ToVirtualSwitch

Converts the specified object to zero, one or more VirtualSwitchBase objects.

Syntax
  IEnumerable<VirtualSwitchBase> ToVirtualSwitch()

Return value
  IEnumerable

Parameters

Name | Type | Description
--- | --- | ---
none

Copyright © VMware, Inc. All rights reserved.