-
Notifications
You must be signed in to change notification settings - Fork 52
Get HPOVXApiVersion
Get appliance API version.
Get-HPOVXApiVersion [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-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)
None. You cannot pipe objects to this cmdlet.
System.Management.Automation.PSCustomObject
The current and minimum supported API versions on the appliance
-------------------------- 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.
Get appliance API version.
Get-HPOVXApiVersion [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-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)
None. You cannot pipe objects to this cmdlet.
System.Management.Automation.PSCustomObject
The current and minimum supported API versions on the appliance
-------------------------- 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.