I've created  custom inventory field that runs ShellCommandTextReturn(cmd /c %windir%\sysnative\netsh mbn show interface) - This gives good information that includes the IMEI number. It does not include the SIM or ICCID number or the phone number. I have been all through the registries for the information. I don't think its there. I've played with WMI to find the information and haven't found it yet. I'm running out of ideas. I've been requested to put this into inventory if our tablets have the IMEI number or the capability. Then whether it is active or not. If active, they want phone number. If it isn't the SIM and IMEI number are to be displayed in case a tech wants to active the tablet.

 

Thank you for any help.

Sheri

4 Comments   [ + ] Show Comments

Comments

  • Well if you have searched and there is no place you can pull that information from. You can create the fields in Assets and manually add the data of the IMEI and Phone number as needed or you roll out the tablets.
  • try it here: https://social.technet.microsoft.com/Forums/en-US/98bedce1-b808-4e65-ae4b-663790b0cb09/aircard-phone-number-extraction?forum=configmanagergeneral
    • Thank you for the information. We do not utilize SCCM though. I have Dell KACE. I am going to look further if I can adapt the script for KACE.
  • I took this one step further. I have MEID Number custom inventory ShellCommandTextReturn(cmd /c %windir%\sysnative\netsh mbn show interface | findstr "Id") and I have SIM ICC ID custom inventory ShellCommandTextReturn(cmd /c %windir%\sysnative\netsh mbn show readyinfo "Mobile Broadband" | findstr "SIM ICC") - This is perfect for all our needs. I've been experimenting with Telephone number ShellCommandTextReturn(cmd /c %windir%\sysnative\netsh mbn show readyinfo "Mobile Broadband" | findstr "Telephone") but it only reports all 0s so far. I may play with that a little more, but I'm happy now! Thank you for your help Aragorn.2003.
  • Im very interested in doing this to pull imei and sim info from my embedded broadband cards. I've tried adding the custom inventory rules listed in the post above but I'm not getting any results. I created a separate rule for each.

    This is my first time doing a custom rule. Any guidance is appreciated.

    ShellCommandTextReturn(cmd /c %windir%\sysnative\netsh mbn show interface | findstr "Id")

    ShellCommandTextReturn(cmd /c %windir%\sysnative\netsh mbn show readyinfo "Mobile Broadband" | findstr "SIM ICC")
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share