Add HPOVBaseline - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Add-HPOVBaseline

Upload new SPP Baseline to appliance firmware repository.

SYNTAX

Add-HPOVBaseline [-File] <String>[ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Array>][ [-Async] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This Cmdlet provides the ability to upload a new SPP Baseline into the appliance. It will return after the upload has completed but before the SPP file has been imported into the firmware repository.

After upload the baseline ISO, any . (period character) within the filename will be chaned to the _ (underscore character) by the appliance. So, if a baseline ISo file name is "bp.2016.04.custom.ISo", the appliance will change the filename to "bp_2016_04_custom.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? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

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

-File <String>

Aliases [-sppFile]

The full path and file name of the SPP file. The function returns an error if the file path cannot be validated.

Aliases sppFile
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Scope <HPOneView.Appliance.ScopeCollection>

Provide an HPOneView.Appliance.ScopeCollection resource object to initially associate with. Resource can also be added to scope using the Add-HPOVResourceToScope Cmdlet.

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

System.IO.FileSystemInfo

File System bject from Get-ChildItem

Return Values

System.Management.Automation.PSCustomObject

The progress of uploading the file to the appliance, and in-progress or completion result.

Examples

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

Add-HPOVBaseline "C:\Users\me\Documents\SPP2012060B.2012.0525.1.iso"

Upload SPP ISO to all connected appliances.

Related Links


Top

HPE OneView 4.00 Library

Add-HPOVBaseline

Upload new SPP Baseline to appliance firmware repository.

SYNTAX

Add-HPOVBaseline [-File] <String>[ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Array>][ [-Async] <SwitchParameter>] [<CommonParameters>]

Detailed Description

This Cmdlet provides the ability to upload a new SPP Baseline into the appliance. It will return after the upload has completed but before the SPP file has been imported into the firmware repository.

After upload the baseline ISO, any . (period character) within the filename will be chaned to the _ (underscore character) by the appliance. So, if a baseline ISo file name is 'bp.2016.04.custom.ISo', the appliance will change the filename to 'bp_2016_04_custom.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? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

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

-File <String>

Aliases [-sppFile]

The full path and file name of the SPP file. The function returns an error if the file path cannot be validated.

Aliases sppFile
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Scope <HPOneView.Appliance.ScopeCollection>

Provide an HPOneView.Appliance.ScopeCollection resource object to initially associate with. Resource can also be added to scope using the Add-HPOVResourceToScope Cmdlet.

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

System.IO.FileSystemInfo

File System bject from Get-ChildItem

Return Values

System.Management.Automation.PSCustomObject

The progress of uploading the file to the appliance, and in-progress or completion result.

Examples

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

Add-HPOVBaseline "C:\Users\me\Documents\SPP2012060B.2012.0525.1.iso"

Upload SPP ISO to all connected appliances.

Related Links


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