Export list of devices

how to export a list of devices …