Users Guide

Table Of Contents
SystemCreationClassName=DCIM_ComputerSystem, SystemName=<system name from
DCIM_BIOSService class>, CreationClassName=DCIM_BIOSService N root/dcim/sysman h
<system IP/name> P 5985 u <user name> p <password> y basic v V k
AttributeName=AdminPwd k AttributeValue= k AuthorizationToken=<password>
Changing the boot sequence
To change the boot sequence follow the steps:
:
1. Check for the boot order type (Legacy or UEFI) by using the following command:
WMIC Command: wmic /namespace:\\root\dcim\sysman path dcim_BootConfigSetting get
ElementName/format:list.
PowerShell Command: gwmi -namespace root\dcim\sysman -class dcim_BootConfigSetting -
Property ElementName.
2. Check for the current boot order type (Legacy or UEFI) by using the following command:
WMIC Command: wmic /namespace:\\root\dcim\sysman path
dcim_ElementSettingData.IsCurrent=1 get SettingData /format:list .
PowerShell Command: gwmi -namespace root\dcim\sysman -class dcim_elementSettingData -
Filter "IsCurrent=1" -Property SettingData.
3. Changing boot-order by using the following command:
WMIC Command: wmic /namespace:\\root\dcim\sysman path dcim_bootconfigsetting call
ChangeBootOrder /?:full .
PowerShell Command: (gwmi -namespace root\dcim\sysman -class
dcim_bootconfigsetting).getmethodparameters("ChangeBootOrder") .
NOTE:
dcim_BootConfigSetting instance must represent the boot configuration that you want to change
either type 1 (Legacy) or type 2 (UEFI).
The arguments are:
Authorization Token This is the Administrator or boot password.
Source This is the boot order list taken from dcim_OrderedComponent.PartComponent property. The new
boot order is determined by the order of boot devices in the source array.
4. Changing Boot order for type 1 boot-list using PowerShell:
a. Get Current Boot-order for type 1 boot-list by running the following command: $boLegacy = gwmi -namespace
root\dcim\sysman -class dcim_orderedcomponent | where {$_.partcomponent -match
'BootListType-1'} | select -expand partcomponent.
b. Define a PowerShell variable to specify boot-order to set $newboLegacy. Assign the new boot-order to it. For
example, Current boot-order type is retained.
c. $newboLegacy = $boLegacy
d. Get dcim_bootconfigsetting instance corresponding to type 1 boot-list by running the following command:
$bcsLegacy = Gwmi -Namespace root\dcim\sysman -ClassName dcim_bootconfigsetting |
where {$_.ElementName -eq 'Next Boot Configuration Setting : Boot List Type 1'}.
e. Invoke the method by running the following command: $ bcsLegacy.changebootorder($newboLegacy,
$AuthorizationToken). $AuthorizationToken variable is used to pass the BIOS password.
5. Changing Boot order for type 2 boot-list using PowerShell:
a. Get Current Boot-order for type 2 boot-list by running the following command: $boUefi = gwmi -namespace
root\dcim\sysman -class dcim_orderedcomponent | where {$_.partcomponent -match
'BootListType-2'} | select -expand partcomponent.
b. Define a PowerShell variable to specify boot-order to set $newboUefi. Assign the new boot-order to it. For example,
current boot-order type is retained.
c. Get dcim_bootconfigsetting instance corresponding to type 2 boot-list by running the following command:
$bcsUefi = Gwmi -Namespace root\dcim\sysman -ClassName dcim_bootconfigsetting | where
{$_.ElementName -eq 'Next Boot Configuration Setting : Boot List Type 2'}.
d. Invoke the method by running the following command: $ bcsUefi.changebootorder($newboUefi,
$AuthorizationToken). $AuthorizationToken variable is used to pass the BIOS password.
Using Dell Command | Monitor 10.2.1
19