Users Guide

Table Of Contents
使用 WSMan
: 确保 OMI 服务器已启动并且正在运行。
使用 OMICLI 设置 BIOS 属性
您可以使用 SetBIOSAttributes 方法设置 BIOS 属性。下面以启用受信任的平台模块 (TPM) 任务为例说明了步骤。
: 确保清除 BIOS 中的 TPM 选项然后再执行以下步骤来启用 TPM
要使用 OMICLI 命令设置 BIOS 属性请执行以下操作
1. 要在系统上设置 BIOS 密码如果尚未设置),请运行
./omicli iv root/dcim/sysman { DCIM_BIOSService Name DCIM:BiosService
SystemCreationClassName DCIM_ComputerSystem SystemName <system name displayed in
DCIM_BIOSService class> CreationClassName DCIM_BIOSService } SetBIOSAttributes
{ AttributeName "AdminPwd" AttributeValue “<new Admin Password>” }
2. 要使用以下命令启用 TPM 安全保护请运行
./omicli iv root/dcim/sysman { DCIM_BIOSService Name DCIM:BiosService
SystemCreationClassName DCIM_ComputerSystem SystemName <system name displayed in
DCIM_BIOSService class> CreationClassName DCIM_BIOSService } SetBIOSAttributes
{ AttributeName "Trusted Platform Module" AttributeValue “1” AuthorizationToken
“<password>”
3. 重新启动系统。
4. 要激活 TPM请运行
./omicli iv root/dcim/sysman { DCIM_BIOSService Name DCIM:BiosService
SystemCreationClassName DCIM_ComputerSystem SystemName <system name displayed in
DCIM_BIOSService class> CreationClassName DCIM_BIOSService } SetBIOSAttributes
{ AttributeName " Trusted Platform Module Activation" AttributeValue “2”
AuthorizationToken “<password>” }
5. 重新启动系统。
6. 要重设 BIOS 密码请运行
./omicli iv root/dcim/sysman { DCIM_BIOSService Name DCIM:BiosService
SystemCreationClassName DCIM_ComputerSystem SystemName <system name displayed in
DCIM_BIOSService class> CreationClassName DCIM_BIOSService } SetBIOSAttributes
{ AttributeName "AdminPwd" AttributeValue “” AuthorizationToken “<password>” }
使用 WinRM 设置 BIOS 属性
您可以使用 SetBIOSAttributes 方法设置 BIOS 属性。通过使用启用受信任的平台模块 (TPM) 作为示例的任务该过程阐述如下。
: 确保清除 BIOS 中的 TPM 选项然后再执行以下步骤来启用 TPM
使用 WinRM 命令设置 BIOS 属性
1. 通过枚举 DCIM_BIOSService 类来获取选择器集。运行
winrm e wsman/DCIM_BIOSService?__cimnamespace=root/dcim/sysman -auth:basic -r:https://
<system IP or system name>:<Port Number (5985/5986)> -username:<user name> -
password:<password> -skipCAcheck -skipCNcheck -encoding:utf-8 -returnType:epr
: 本例中设置操作使用选择器集值SystemName=<来自 DCIM_BIOSService 类的系统名称>winrm i SetBIOSAttributes
wsman/DCIM_BIOSService?SystemName=dt:
+SystemCreationClassName=DCIM_ComputerSystem+Name=DCIM:BiosService+CreationClassName=DCIM_BIOSService+
使用 Dell Command | Monitor 10.3 17