Vbscript / Operating System / Dell Bios Set Configuration Settings
Set Dell BIOS configuration settings using the WMI functionality of Dell Open Manage Client Instrumentation (OMCI). Also enumerates settings to check that the property has been set.
strComputername = "." strNameSpace = "root/Dellomci" strClassName = "Dell_Configuration" strKeyValue = "Configuration"
strPropName = "PropertyOwnershipTag" strPropVal = "MyCompany"
Set objInstance = GetObject("WinMgmts:{impersonationLevel=impersonate}//"&_ strComputerName & "/"& strNameSpace & ":" & strClassName & "=" & _ Chr(34) & strKeyValue & Chr(34))
objInstance.Properties_.Item(strPropName).Value = strPropVal objInstance.Put_
strMsg = "Set " & strPropName & " = " & strPropVal Wscript.Echo strMsg
For Each property in objInstance.Properties_ Wscript.Echo property.name & " - " & property.value Next
Please note that a disclaimer applies to any code on this page.
|