Get HPOVBaseline - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVBaseline

Retrieve available SPP Baseline information.

SYNTAX

Get-HPOVBaseline[ [-File] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Get-HPOVBaseline[ [-SppName] <String>][ [-Version] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Get-HPOVBaseline[ [-HotfixesOnly] <SwitchParameter>][ [-Scope] <Object>][ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

Retrieves the list of SPPs that have been uploaded to the appliance, and their detail. You can examine the included components and their versions reported by the baseline.

Please note that any file name that contains the . (period, CHAR46) character will be replaced with _ (underscore, CHAR95).

Example: My.Spp.To.Upload.201605.iso will become My_Spp_To_Upload_201605.iso.

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

-File <String>

Aliases [-isoFileName, -FileName]

The ISO file name of an SPP.

Aliases isoFileName, FileName
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-HotfixesOnly <SwitchParameter>

Display only the available Hotfixes present with in the repository.

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

-Scope <Object>

Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:

* AllResources
* AllResourcesInScope
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases None
Required? False
Position? named
Default value AllResourcesInScope
Accept pipeline input? false
Accept wildcard characters?    False

-SppName <String>

The SPP/Baseline Name.

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

-Version <String>

If multiple SPP/Baselines with the same name exist, use the Version parameter to filter to the specific SPP/Baseline version.

Aliases None
Required? false
Position? named
Default value
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

HPOneView.Appliance.Baseline [System.Management.Automation.PSCustomObject]

Single SPP resource object

System.Collections.ArrayList (HPOneView.Appliance.Baseline)

Multiple SPP resource objects

The firmware-baseline object or collection of firmware-baseline objects if no sppFile is provided in the command.

Examples

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

$sppCollection = Get-HPOVBaseline

Retrieves all SPP objects from the appliance and stores them in the sppCollection object

 -------------------------- EXAMPLE 2 --------------------------

$sppObject = Get-HPOVBaseline -Filename SPP2012060B.2012_0525.1.iso

Retrieves an SPP object with the filename SPP2012060B.2012_0525.1.iso

 -------------------------- EXAMPLE 3 --------------------------

$sppObject = Get-HPOVBaseline -SppName "HP Service Pack for ProLiant"

Retrieves an SPP object with the SPP Name "HP Service Pack for ProLiant"

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVBaseline

Retrieve available SPP Baseline information.

SYNTAX

Get-HPOVBaseline[ [-File] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Get-HPOVBaseline[ [-SppName] <String>][ [-Version] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Get-HPOVBaseline[ [-HotfixesOnly] <SwitchParameter>][ [-Scope] <Object>][ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

Retrieves the list of SPPs that have been uploaded to the appliance, and their detail. You can examine the included components and their versions reported by the baseline.

Please note that any file name that contains the . (period, CHAR46) character will be replaced with _ (underscore, CHAR95).

Example: My.Spp.To.Upload.201605.iso will become My_Spp_To_Upload_201605.iso.

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

-File <String>

Aliases [-isoFileName, -FileName]

The ISO file name of an SPP.

Aliases isoFileName, FileName
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-HotfixesOnly <SwitchParameter>

Display only the available Hotfixes present with in the repository.

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

-Scope <Object>

Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:

* AllResources
* AllResourcesInScope
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases None
Required? False
Position? named
Default value AllResourcesInScope
Accept pipeline input? false
Accept wildcard characters?    False

-SppName <String>

The SPP/Baseline Name.

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

-Version <String>

If multiple SPP/Baselines with the same name exist, use the Version parameter to filter to the specific SPP/Baseline version.

Aliases None
Required? false
Position? named
Default value
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

HPOneView.Appliance.Baseline [System.Management.Automation.PSCustomObject]

Single SPP resource object

System.Collections.ArrayList (HPOneView.Appliance.Baseline)

Multiple SPP resource objects

The firmware-baseline object or collection of firmware-baseline objects if no sppFile is provided in the command.

Examples

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

$sppCollection = Get-HPOVBaseline

Retrieves all SPP objects from the appliance and stores them in the sppCollection object

 -------------------------- EXAMPLE 2 --------------------------

$sppObject = Get-HPOVBaseline -Filename SPP2012060B.2012_0525.1.iso

Retrieves an SPP object with the filename SPP2012060B.2012_0525.1.iso

 -------------------------- EXAMPLE 3 --------------------------

$sppObject = Get-HPOVBaseline -SppName "HP Service Pack for ProLiant"

Retrieves an SPP object with the SPP Name 'HP Service Pack for ProLiant'

Related Links


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