-
Notifications
You must be signed in to change notification settings - Fork 52
Get HPOVVersion
Get-HPOVVersion
Display library component versions.
Get-HPOVVersion [[-ApplianceVer] <SwitchParameter>] [[-CheckOnline] <SwitchParameter>] [[-ApplianceConnection] <Object>] [<CommonParameters>]
Get-HPOVVersion [[-CheckOnline] <SwitchParameter>] [<CommonParameters>]
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.
-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)
None. You cannot pipe objects to this Cmdlet.
System.Management.Automation.PSCustomObject
The HPE OneView PowerShell Library or Appliance version information.
#### RELATED LINKS
- [Start-HPOVLibraryTrace] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Start-HPOVLibraryTrace)
- [Stop-HPOVLibraryTrace] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Stop-HPOVLibraryTrace)
-------------------------- 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.
Get-HPOVVersion
Display library component versions.
Get-HPOVVersion [[-ApplianceVer] <SwitchParameter>] [[-CheckOnline] <SwitchParameter>] [<CommonParameters>]
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.
-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)
None. You cannot pipe objects to this cmdlet.
System.Management.Automation.PSCustomObject
The HP OneView PowerShell Library or Appliance version information.
#### RELATED LINKS
-------------------------- 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.
Get-HPOVVersion
Display library component versions.
Get-HPOVVersion [[-ApplianceVer] <SwitchParameter>] [<CommonParameters>]
Get-HPOVVersion [[-CheckOnline] <SwitchParameter>] [[-ReleaseNotes] <SwitchParameter>] [<CommonParameters>]
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.
-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)
None. You cannot pipe objects to this cmdlet.
System.Collections.SortedList
The HP OneView PowerShell Library or Appliance version information.
#### RELATED LINKS
-------------------------- 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