run commands on all connected devices