You can run these methods using winrm, VB script, PowerShell commands, wmic, wbemtest.exe, and WMI wbemtest.
You can set BIOS attributes using the SetBIOSAttributes method. The procedure is explained below using a task of enabling the Trusted Platform Module (TPM) as an example.
To enable TPM: