Users Guide

DCIM_OrderedComponent
DCIM_OrderedComponent 关联类用于将 DCIM_BootConfigSetting 实例与代表引导设备所属引导列表类
(传统或 UEFI)之一的 DCIM_BootSourceSetting 实例相关联。DCIM_OrderedComponent
GroupComponent 属性引用 DCIM_BootConfigSetting 实例,PartComponent 属性引用
DCIM_BootSourceSetting 实例。
使用 ChangeBootOrder 方法更改引导顺序
要更改引导顺序,请执行以下步骤:
1. 使用以下方法检查引导列表类型:
WMIC 命令:wmic /namespace:\\root\dcim\sysman path dcim_BootConfigSetting
get ElementName/format:list
PowerShell 命令:gwmi -namespace root\dcim\sysman -class
dcim_BootConfigSetting -Property ElementName
2. 使用以下方法检查引导顺序类型(传统或 UEFI):
WMIC 命令:wmic /namespace:\\root\dcim\sysman path
dcim_ElementSettingData.IsCurrent=1 get SettingData /format:list
PowerShell 命令:gwmi -namespace root\dcim\sysman -class
dcim_elementSettingData -Filter "IsCurrent=1" -Property SettingData
3. 使用以下方法更改引导顺序:
WMIC 命令:wmic /namespace:\\root\dcim\sysman path dcim_bootconfigsetting
call ChangeBootOrder /?:full
PowerShell 命令:(gwmi -namespace root\dcim\sysman -class
dcim_bootconfigsetting).getmethodparameters("ChangeBootOrder")
ChangeBootOrder 方法所需的参数包括:
Authorization Token - 这是管理员或引导密码。
Source - 这是取自 DCIM_OrderedComponent.PartComponent 属性的引导顺序列表。新的引导顺
序由数组中的引导设备顺序确定。
设置 BIOS 属性
Dell Command | Monitor 中,添加了下列方法用于更改本地或远程系统的系统设置和状态:
SetBIOSAttributes - 用于更改 BIOS 设置
ChangeBootOrder - 用于更改引导配置
RequestStateChange - 用于关闭和重新启动系统
ManageTime 返回系统时间
您可以使用 winrmVB 脚本、PowerShell 命令、wmicwbemtest.exe WMI wbemtest 来运行这些方
法。
您可以使用 SetBIOSAttributes 方法设置 BIOS 属性。通过启用受信任的平台模块 (TPM) 作为示例,该过程阐
述如下。
: 确保清除 BIOS 中的 TPM 选项,然后再执行以下步骤来启用 TPM
19