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 中,您可以使用 winrm、VB 脚本、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