Get HPOVXApiVersion - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVXApiVersion

Get appliance API version.

SYNTAX

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

Detailed Description

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

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases appliance
Required? true
Position? 0
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

System.Management.Automation.PSCustomObject

The current and minimum supported API versions on the appliance

Examples

 -------------------------- EXAMPLE 1 --------------------------

(Get-HPOVXApiVersion 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-HPOVXApiVersion).minimumversion

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

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVXApiVersion

Get appliance API version.

SYNTAX

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

Detailed Description

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

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases appliance
Required? true
Position? 0
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

System.Management.Automation.PSCustomObject

The current and minimum supported API versions on the appliance

Examples

 -------------------------- EXAMPLE 1 --------------------------

(Get-HPOVXApiVersion 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-HPOVXApiVersion).minimumversion

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

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️