Users Guide

Get-CimInstance -Namespace root\dcim\sysman DCIM_SmartAttributeInfo -Filter "AttributeID like '<Attribute ID Value>'" | Invoke-
CimMethod -MethodName "SetCustomThreshold" -Arguments @{CustomThresholdValue="<custom threshold value to be set>"}
DCIM_ThermalInformation
DCIM_ThermalInformation 管理散热配置设置例如散热模式AAC 模式风扇故障模式
要查询有关设备的散热信息请运行以下命令
Get-CimInstance -Namespace root/DCIM/SYSMAN -ClassName DCIM_ThermalInformation
要设置散热模式的值请运行以下命令
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_ThermalInformation |Where-
Object {$_.AttributeName -eq "Thermal Mode"} | Invoke-CimMethod -MethodName
ChangeThermalMode -Arguments @{AttributeName=@("Thermal Mode");AttributeValue=@("2")}
更改系统设置
Dell Command | Monitor 使用以下方法更改系统设置和本地或远程系统的状态
SetBIOSAttributes 更改 BIOS 设置
: Dell Command | Monitor for Linux 目前仅支持 SetBIOSAttributes 方法。
ChangeBootOrder 更改引导配置
RequestStateChange 关闭和重新启动系统
ManageTime 显示系统时间
Dell Command | Monitor for Windows 您可以使用 winrmVB 脚本、PowerShell 命令、wmic WMI wbemtest 运行上述方
法。
使用 PowerShell 命令在运行 Windows 的系统中设置 BIOS
属性
您可以使用 SetBIOSAttributes 方法设置 BIOS 属性。下面以启用受信任的平台模块 (TPM) 任务为例说明了步骤。
: 确保清除 BIOS 中的 TPM 选项然后再执行以下步骤来启用 TPM
: 使用管理员权限运行 PowerShell
要启用 TPM
1. 如果尚未设定系统的 BIOS 密码请使用以下 PowerShell 命令设置该密码
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSService | Invoke-CimMethod -
MethodName SetBIOSAttributes -Arguments
@{AttributeName=@("AdminPwd");AttributeValue=@("<Admin password>")}
2. 使用以下命令启用 TPM 安全保护
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSService | Invoke-CimMethod -
MethodName SetBIOSAttributes -Arguments @{AttributeName=@("Trusted Platform Module
");AttributeValue=@("1");AuthorizationToken="<Admin password>"}
3. 重新启动系统。
4. 使用以下命令激活 TPM
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSService | Invoke-CimMethod -
MethodName SetBIOSAttributes -Arguments @{AttributeName=@(" Trusted Platform Module
Activation");AttributeValue=@("2");AuthorizationToken="<Admin password>"}
5. 重新启动系统。
16 使用 Dell Command | Monitor 10.3