ADB command to dial Code *#06# I am wondering if there is any way to run *# codes on android using adb command

I have tried this:

**service call phone 2 s16 "*#06#"**


tried with % instead of # as well. 

Any help will be much appreciated.
Here's the command to type in ADB mode to show IMEI info:

adb shell am start -n com.android.settings/com.android.settings.deviceinfo.ImeiInformation


For Terminal Emulator from device:

am start -n com.android.settings/com.android.settings.deviceinfo.ImeiInformation