Last fall Dell released a major revision to their Open Manage Client Instrumentation (OMCI) management extension for their enterprise systems. With this update they chose to align their WMI Namespace and Classes with industry standards and the writable WMI Classes and their associated instances, methods and properties were moved to the following WMI Namespace: ROOT\DCIM\SYSMAN
This switch brought on some challenges for system administrators attempting to script various BIOS changes. Today, I am going to show you how to change the Asset Tag using OMCI 8.x.
While already documented on the Dell Tech Center, There is a bit of a "gotcha" when working with laptops while on a docking station. The problem you have with the newer laptops (Latitude E-Series in particular), is that OMCI 8 now recognizes the docking station as an additional Chassis Type registered in the DCIM_Chassis WMI class. When running the above command, PowerShell (may) look at the at the Docking Station instance and produce an error stating that the ChangeAssetTag method cannot be found (because it’s not there for docking stations).
Luckily, this is easily corrected with a simple modification to the PowerShell command as follows:
As you can see, we are narrowing our search to exclude anything with the CreationClass of "DCIM_DockingStation" which will skip over any Docking Station WMI instances and only target the actual system.