Skip to content

Get HPOVVersion

Chris Lynch edited this page Jul 8, 2017 · 43 revisions

HPE OneView 3.10 Library

Get-HPOVVersion

Display library component versions.

SYNTAX

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

Detailed 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

-ApplianceConnection <Array>

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? named
Default value ${Global:ConnectedSessions}
Accept pipeline input? false
Accept wildcard characters?    False

-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

<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 HPE OneView PowerShell Library or Appliance version information

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.

Related Links


HPE OneView 3.00 Library

Get-HPOVVersion

Display library component versions.

SYNTAX

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

Detailed 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

-ApplianceConnection <Array>

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? named
Default value ${Global:ConnectedSessions}
Accept pipeline input? false
Accept wildcard characters?    False

-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

<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 HPE OneView PowerShell Library or Appliance version information

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.

Related Links


HPE OneView 2.00 Library

Get-HPOVVersion

Display library component versions.

SYNTAX

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

Detailed 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

-ApplianceConnection <Object>

Aliases [-Appliance]

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

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

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

-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

<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 HPE OneView PowerShell Library or Appliance version information.

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.

Related Links


HPE OneView 1.20 Library

Get-HPOVVersion

Display library component versions.

SYNTAX

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

Detailed 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 <ApplianceVer>

Aliases [-appliance] Include the appliance version.

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

-CheckOnline <CheckOnline>

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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

System.Management.Automation.PSCustomObject

The HP OneView PowerShell Library or Appliance version information.

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.

Related Links


Wiki Table of Contents

Clone this wiki locally