Users Guide
NOTE: The selector set values (SystemName=<system name from DCIM_BIOSService class>winrm i
SetBIOSAttributes wsman/DCIM_BIOSService?SystemName=dt:
+SystemCreationClassName=DCIM_ComputerSystem+Name=DCIM:BiosService
+CreationClassName=DCIM_BIOSService+) are used for set operation in this example.
2. Set the BIOS password on the system if not set already using the following command:
winrm i SetBIOSAttributes http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/DCIM_BIOSService?
__cimnamespace=root/dcim/sysman+Name=DCIM:BiosService
+SystemCreationClassName=DCIM_ComputerSystem+SystemName=<system name from DCIM_BIOSService
class>+CreationClassName=DCIM_BIOSService -r:https://<system IP or system name>:5986 -u:<user
name> -password:<password> -auth:basic -skipCAcheck -skipCNcheck -encoding:utf-8
@{AttributeName="AdminPwd";AttributeValue="<Password>"}
3. Enable TPM security by running the following command:
winrm i SetBIOSAttributes "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/
DCIM_BIOSService?__cimnamespace=root/dcim/sysman+Name=DCIM:BiosService
+SystemCreationClassName=DCIM_ComputerSystem+SystemName=<system name from DCIM_BIOSService
class>+CreationClassName=DCIM_BIOSService -r:https://<system IP or system name>:5986 -u:<user
name> -password:<password> -auth:basic -skipCAcheck -skipCNcheck -encoding:utf-8
@{AttributeName="Trusted Platform Module";AttributeValue="1";AuthorizationToken="<Admin
password>"}
4. Restart the system.
5. Activate the TPM using the following command:
winrm i SetBIOSAttributes "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/
DCIM_BIOSService?__cimnamespace=root/dcim/sysman+Name=DCIM:BiosService
+SystemCreationClassName=DCIM_ComputerSystem+SystemName=<system name from DCIM_BIOSService
class>+CreationClassName=DCIM_BIOSService -r:https://<system IP or system name>:5986 -u:<user
name> -password:<password> -auth:basic -skipCAcheck -skipCNcheck -encoding:utf-8
@{AttributeName=("Trusted Platform Module
Activation");AttributeValue=("2");AuthorizationToken="<Admin password>"}
Setting BIOS attributes using WSMan
You can set BIOS attributes on the systems running Linux using the WSMan. The procedure is explained below using a task of enabling the
Trusted Platform Module (TPM) as an example.
NOTE: Ensure that the TPM option is cleared in the BIOS before following the procedure to enable the TPM.
1. Get the selector set by enumerating the DCIM_BIOSService class. Run:
wsman invoke –a “SetBIOSAttributes” http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/
DCIM_BIOSService?Name=”DCIM:BIOSService”, 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=<password>”
2. Set the BIOS password on the system if not set already using the following command:
wsman invoke –a “SetBIOSAttributes” http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/
DCIM_BIOSService?Name=”DCIM:BIOSService”, SystemCreationClassName=”DCIM_ComputerSystem”,
SystemName=”<system name from DCIM_BIOSService class>”,
CreationClassName=”DCIM_BIOSService” –N root/dcim/sysman –h <system IP or system name> –P
5985 –u <user name> –p <password> –y basic –v –V –k “AttributeName=Trusted Platform
Module” –k “AttributeValue=1” –k “AuthorizationToken=<password>”
3. Enable TPM security using the following command:
wsman invoke –a “SetBIOSAttributes” http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/
DCIM_BIOSService?Name=”DCIM:BIOSService”, SystemCreationClassName=”DCIM_ComputerSystem”,
SystemName=”<system name from DCIM_BIOSService class>”,
CreationClassName=”DCIM_BIOSService” –N root/dcim/sysman –h <system IP or system name> –P
5985 –u <user name> –p <password> –y basic –v –V –k “AttributeName=Trusted Platform
Module Activation” –k “AttributeValue=2” –k “AuthorizationToken=<password>”
4. Restart the system.
18
Using Dell Command | Monitor 10.3