< Back

Set-iBMCBootSourceOverride

Tue Jan 14, 2020 3:06 am

NAME Set-iBMCBootSourceOverride



SYNOPSIS

Modify bios boot source override target.





SYNTAX

Set-iBMCBootSourceOverride [-Session] <RedfishSession[]> [-BootSourceOverrideTarget] {None | Pxe | Floppy | Cd |

Hdd | BiosSetup} [-BootSourceOverrideEnabled] {Disabled | Once | Continuous} [<CommonParameters>]





DESCRIPTION

Modify bios boot source override target.

Available boot source override target: 'None', 'Pxe', 'Floppy', 'Cd', 'Hdd', 'BiosSetup'.

This boot source override target takes effect upon the next restart of the system.





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



-BootSourceOverrideTarget

BootSourceOverrideTarget specifies the bios boot source override target



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-BootSourceOverrideEnabled



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

Null

Returns Null 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:\\> Set-iBMCBootSourceOverride $session 'Pxe' 'Once'



Set boot source override target for single iBMC server









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



PS C:\\>$credential = Get-Credential



PS C:\\> $session = Connect-iBMC -Address 10.1.1.2,10.1.1.5 -Credential $credential -TrustCert

PS C:\\> Set-iBMCBootSourceOverride -Session $session -BootSourceOverrideTarget Pxe `

-BootSourceOverrideEnabled Once



Set boot source override target for multiple iBMC server











RELATED LINKS

https://github.com/Huawei/Huawei-iBMC-Cmdlets



Get-iBMCBootupSequence

Set-iBMCBootupSequence

Get-iBMCBootSourceOverride

Connect-iBMC

Disconnect-iBMC