I have come across this problem before, so I am going to inquire about it. I would really like to figure this one out, because I know I will hit it again in the future. I am trying to get technical in using the client to make a WMI call and I am wondering if the client can do this. In this example, I want to look in WMI using DellOMCI and see if the Dell harddrive password is at least set to something. Dell has a Dell OMCI script that can change the password via windows and DellOMCI, so here is the portion of that script that is needed to at least figure out what to call in WMI.
Looking at the above, usually I can take the NameSpace/Class/Prop and create a WMI query. Example shown below.
Q: if (exists wmi) then (string values of selects “Password FROM Dell_Configuration” of wmi “Root\DellOMCI”) else (“N/A”)
This is not working. Is there a way to look at a property inside of a key when doing a WMI call through the BES client? I don’t know what the limitations are of the client, and I do not know a whole lot about WMI itself. I am guessing I could dump a query from WMIC and then parse that data somehow, but that is my second step if this doesn’t work through the client.
Amagewick, the WMI query you posted above is for the BIOS password, not the hard drive password. Furthermore, this query will return a blank value, presumably because Dell didn’t want someone to be able to retrieve the BIOS password with a WMI query.
To check if the Hard Drive has a password set, you would want something like this:
if (exists wmi) then (string values of selects “HDDPasswordStatus FROM Dell_HardDiskDrivePasswordConfiguration” of wmi “Root\DellOMCI”) else (“N/A”)