Skip to content

Get HPOVVersion

Chris Lynch edited this page Jun 25, 2016 · 43 revisions

HP OneView 200 Library

NAME

Get-HPOVVersion

SYNOPSIS

Display library component versions.

SYNTAX

 Get-HPOVVersion [[-ApplianceVer] <SwitchParameter>] [[-CheckOnline] <SwitchParameter>] [[-ApplianceConnection] <Object>]  [<CommonParameters>]
 Get-HPOVVersion [[-CheckOnline] <SwitchParameter>]  [<CommonParameters>]

DESCRIPTION

Display either the HPE OneView PowerShell library or appliance version. Displaying the Appliance version will provide the Major, Minor, full version, and X-API Version information.

PARAMETERS

-ApplianceVer [<SwitchParameter>]

Include the appliance version. 
Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false

-CheckOnline [<SwitchParameter>]

Check the GitHub repository for an updated version of the library. 
Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false

-ApplianceConnection [<Object>]

Aliases [-Appliance] 

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

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

Aliases None
Required? false
Position? 1
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)

INPUTS

None. You cannot pipe objects to this Cmdlet.

OUTPUTS

System.Management.Automation.PSCustomObject

The HPE OneView PowerShell Library or Appliance version information.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> Get-HPOVVersion

Get the HPE OneView PowerShell library version

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Get-HPOVVersion -ApplianceVer
PowerShell Library Version : 1.20.208.0
Library Path               : C:\Users\user\Documents\WindowsPowerShell\Modules\HPOneView.120
Appliance Major Version    : 1
Appliance Minor Version    : 20
Appliance Version Info     : 1.20.05-0201918
Appliance X-API Version    : 120


Get the HPE OneView PowerShell library, Appliance and X-API version information

-------------------------- EXAMPLE 3 --------------------------
        
PS C:\> Get-HPOVVersion -CheckOnline
PowerShell Library Version : 1.20.166.0
Library Path               : C:\Users\user\Documents\WindowsPowerShell\Modules\hponeview.120


Please Confirm
You currently have v1.20.166.0 installed.  The HPE OneView PowerShell Library v1.20.208.0 was found that is newer.  Do
you want to download the current version of the HPE OneView POSH Library (will open your web browser for you to
download)?
[Y] Yes  [N] No  [?] Help (default is "Y"):


Display the installed library version, and check for availability of an updated version online. If an updated version is found, the Cmdlet will prompt if the user would like to download it now. If so, browser window will be opened to current version to download.


HP OneView 120 Library

NAME

Get-HPOVVersion

SYNOPSIS

Display library component versions.

SYNTAX

 Get-HPOVVersion [[-ApplianceVer] <SwitchParameter>] [[-CheckOnline] <SwitchParameter>]  [<CommonParameters>]

DESCRIPTION

Display either the HP OneView PowerShell library or appliance version. Displaying the Appliance version will provide the Major, Minor, full version, and X-API Version information.

PARAMETERS

-ApplianceVer [<SwitchParameter>]

Aliases [-appliance] 

Include the appliance version.

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

-CheckOnline [<SwitchParameter>]

Check the GitHub repository for an updated version of the library. 
Aliases None
Required? false
Position? named
Default value False
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)

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

System.Management.Automation.PSCustomObject

The HP OneView PowerShell Library or Appliance version information.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> Get-HPOVVersion

Get the HP OneView PowerShell library version

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Get-HPOVVersion -appliance
PowerShell Library Version : 1.20.208.0
Library Path               : C:\Users\user\Documents\WindowsPowerShell\Modules\HPOneView.120
Appliance Major Version    : 1
Appliance Minor Version    : 20
Appliance Version Info     : 1.20.05-0201918
Appliance X-API Version    : 120


Get the HP OneView PowerShell library, Appliance and X-API version information

-------------------------- EXAMPLE 3 --------------------------
        
PS C:\> Get-HPOVVersion -CheckOnline
PowerShell Library Version : 1.20.166.0
Library Path               : C:\Users\user\Documents\WindowsPowerShell\Modules\hponeview.120


Please Confirm
You currently have v1.20.166.0 installed.  The HP OneView PowerShell Library v1.20.208.0 was found that is newer.  Do
you want to download the current version of the HP OneView POSH Library (will open your web browser for you to
download)?
[Y] Yes  [N] No  [?] Help (default is "Y"):


Display the installed library version, and check for availability of an updated version online. If an updated version is found, the CMDLET will prompt if the user would like to download it now. If so, browser window will be opened to current version to download.


HP OneView 110 Library

NAME

Get-HPOVVersion

SYNOPSIS

Display library component versions.

SYNTAX

 Get-HPOVVersion [[-ApplianceVer] <SwitchParameter>]  [<CommonParameters>]
 Get-HPOVVersion [[-CheckOnline] <SwitchParameter>] [[-ReleaseNotes] <SwitchParameter>]  [<CommonParameters>]

DESCRIPTION

Display either the HP OneView PowerShell library or appliance version. Displaying the Appliance version will provide the Major, Minor, full version, and X-API Version information.

PARAMETERS

-ApplianceVer [<SwitchParameter>]

Aliases [-appliance] 

Include the appliance version.

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

-CheckOnline [<SwitchParameter>]

Check for newer library version on Github. 
Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false

-ReleaseNotes [<SwitchParameter>]

Display the Release Notes of the latest version if newer than what is currently installed. 
Aliases None
Required? false
Position? named
Default value False
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)

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

System.Collections.SortedList

The HP OneView PowerShell Library or Appliance version information.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> Get-HPOVVersion

Get the HP OneView PowerShell library version

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Get-HPOVVersion -appliance
Name                           Value
----                           -----
applMajorVersion               1
applMinorVersion               10
applVersionInfo                1.10.03-103740
applXApiVersion                101
OneViewPowerShellLibrary       1.10.1314


Get the HP OneView PowerShell library, Appliance and X-API version information


Wiki Table of Contents

Clone this wiki locally