Skip to content

Get-OVXApiVersion

Syntax

Get-OVXApiVersion
    [-ApplianceConnection] <Object>
    [<CommonParameters>]

Description

Returns the API versions supported by the appliance. You do not need to authenticate, or call Connect-OVMgmt, to an appliance in order to retrieve the supported REST API Versions by the appliance.

Examples

Example 1

(Get-OVXApiVersion myAppliance.domain.com).minimumversion

This example retrieves the minimum XApi version supported by the appliance. An existing connection is not needed since the appliance name is provided.

Example 2

(Get-OVXApiVersion).minimumversion

This example retrieves the minimum XApi version supported by the appliance and requires that a connection has been established by using Connect-OVMgmt.

Parameters

-ApplianceConnection <Object>

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

Aliases appliance
Required? True
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

The current and minimum supported API versions on the appliance