Skip to content

Get-OVSwitchType

Syntax

Get-OVSwitchType
    [-Name <String>]
    [-ApplianceConnection <Object>]
    [<CommonParameters>]
Get-OVSwitchType
    [-PartNumber <String>]
    [-ApplianceConnection <Object>]
    [<CommonParameters>]

Description

Retrieves a list of all supported Switch Types or just specific ones via a query if the name or partnumber parameters are provided.

Examples

Example 1

Get-OVSwitchType

Returns all Switch Types available from all connected appliances to standard output.

Example 2

Get-OVSwitchType -Name "Cisco Nexus 55xx"

Returns just the "Cisco Nexus 55xx" Switch Type object to standard output.

Example 3

Get-OVSwitchType -Partnumber "DCS-7060X-SERIES"

Returns just the partnumber "DCS-7060X-SERIES" Switch Type object to standard output.

Parameters

-Name <String>

The name of the switch type model name to retrieve. Does not support wildcard search.

Aliases None
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-PartNumber <String>

The Part Number of an switch type to search for.

Aliases None
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-ApplianceConnection <Object>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

Aliases Appliance
Required? False
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

Single Switch Type resource.