How to check the connected android devices and properties thru ADB

  Windows General

You need to have the android SDK installed or in your machine in any folder and run the code below. The result should be a list of serials of all the devices connected to your machine.

adb devices

You can also check device properties:

adb shell getprop

You can check a specific property:

adb shell getprop ro.build.version.sdk

Check the install packages:

adb shell pm list packages