< Back
Update-iBMCOutbandFirmware
Post
NAME Update-iBMCOutbandFirmware
SYNOPSIS
Updata iBMC Outband firmware.
SYNTAX
Update-iBMCOutbandFirmware [-Session] <RedfishSession[]> [-FileUri] <String[]> [<CommonParameters>]
DESCRIPTION
Updata iBMC Outband firmware.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-FileUri <String[]>
Indicates the file uri of firmware update image file.
File Uri should be a string of up to 256 characters.
It supports HTTPS, SCP, SFTP, CIFS, TFTP, NFS and FILE file transfer protocols.
For examples:
- local path: C:\\2288H_V5_5288_V5-iBMC-V318.hpm or \\\\192.168.1.2\\2288H_V5_5288_V5-iBMC-V318.hpm
- ibmc local temporary path: /tmp/2288H_V5_5288_V5-iBMC-V318.hpm
- remote path: protocol://username:password@hostname/directory/2288H_V5_5288_V5-iBMC-V318.hpm
Required? true
Position? 3
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns the update firmware task details if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Update-iBMCOutbandFirmware -Session $session -FileUri E:\\2288H_V5_5288_V5-iBMC-V318.hpm
Host : 10.1.1.2
Id : 1
Name : Upgarde Task
ActivityName : [10.1.1.2] Upgarde Task
TaskState : Completed
StartTime : 2018-11-23T08:57:45+08:00
EndTime : 2018-11-23T09:01:24+08:00
TaskStatus : OK
TaskPercent : 100%
This example shows how to update outband firmware with local file
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Update-iBMCOutbandFirmware -Session $session -FileUri '/tmp/2288H_V5_5288_V5-iBMC-V318.hpm'
Host : 10.1.1.2
Id : 1
Name : Upgarde Task
ActivityName : [10.1.1.2] Upgarde Task
TaskState : Completed
StartTime : 2018-11-23T08:57:45+08:00
EndTime : 2018-11-23T09:01:24+08:00
TaskStatus : OK
TaskPercent : 100%
This example shows how to update outband firmware with ibmc temp file
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Update-iBMCOutbandFirmware -Session $session `
-FileUri nfs://10.10.10.2/data/nfs/2288H_V5_5288_V5-iBMC-V318.hpm
Host : 10.1.1.2
Id : 1
Name : Upgarde Task
ActivityName : [10.1.1.2] Upgarde Task
TaskState : Completed
StartTime : 2018-11-23T08:57:45+08:00
EndTime : 2018-11-23T09:01:24+08:00
TaskStatus : OK
TaskPercent : 100%
This example shows how to update outband firmware with NFS network file
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCInbandFirmware
Get-iBMCOutbandFirmware
Update-iBMCInbandFirmware
Invoke-iBMCFileUpload
Get-iBMCSPTaskResult
Set-iBMCSPService
Connect-iBMC
Disconnect-iBMC
SYNOPSIS
Updata iBMC Outband firmware.
SYNTAX
Update-iBMCOutbandFirmware [-Session] <RedfishSession[]> [-FileUri] <String[]> [<CommonParameters>]
DESCRIPTION
Updata iBMC Outband firmware.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-FileUri <String[]>
Indicates the file uri of firmware update image file.
File Uri should be a string of up to 256 characters.
It supports HTTPS, SCP, SFTP, CIFS, TFTP, NFS and FILE file transfer protocols.
For examples:
- local path: C:\\2288H_V5_5288_V5-iBMC-V318.hpm or \\\\192.168.1.2\\2288H_V5_5288_V5-iBMC-V318.hpm
- ibmc local temporary path: /tmp/2288H_V5_5288_V5-iBMC-V318.hpm
- remote path: protocol://username:password@hostname/directory/2288H_V5_5288_V5-iBMC-V318.hpm
Required? true
Position? 3
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns the update firmware task details if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Update-iBMCOutbandFirmware -Session $session -FileUri E:\\2288H_V5_5288_V5-iBMC-V318.hpm
Host : 10.1.1.2
Id : 1
Name : Upgarde Task
ActivityName : [10.1.1.2] Upgarde Task
TaskState : Completed
StartTime : 2018-11-23T08:57:45+08:00
EndTime : 2018-11-23T09:01:24+08:00
TaskStatus : OK
TaskPercent : 100%
This example shows how to update outband firmware with local file
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Update-iBMCOutbandFirmware -Session $session -FileUri '/tmp/2288H_V5_5288_V5-iBMC-V318.hpm'
Host : 10.1.1.2
Id : 1
Name : Upgarde Task
ActivityName : [10.1.1.2] Upgarde Task
TaskState : Completed
StartTime : 2018-11-23T08:57:45+08:00
EndTime : 2018-11-23T09:01:24+08:00
TaskStatus : OK
TaskPercent : 100%
This example shows how to update outband firmware with ibmc temp file
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Update-iBMCOutbandFirmware -Session $session `
-FileUri nfs://10.10.10.2/data/nfs/2288H_V5_5288_V5-iBMC-V318.hpm
Host : 10.1.1.2
Id : 1
Name : Upgarde Task
ActivityName : [10.1.1.2] Upgarde Task
TaskState : Completed
StartTime : 2018-11-23T08:57:45+08:00
EndTime : 2018-11-23T09:01:24+08:00
TaskStatus : OK
TaskPercent : 100%
This example shows how to update outband firmware with NFS network file
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCInbandFirmware
Get-iBMCOutbandFirmware
Update-iBMCInbandFirmware
Invoke-iBMCFileUpload
Get-iBMCSPTaskResult
Set-iBMCSPService
Connect-iBMC
Disconnect-iBMC