MDM(Mobile Device Management) is a great option when managing multiple devices. Google has their own MDM.
MDM begins at a centralized location, usually a single workstation or
computer. From this centralized point, the administrator can use the
Mobile Device Management software to oversee all the devices in the
network. This is done by using the software to set up a suite of
policies so that all devices that have access to the network will
adhere to enterprise standards.
Once the policies are set, administrators can then enroll smartphones,
tablets, laptops, and even desktop computers into the network.
Depending upon software capabilities and corporate security
requirements, device enrollment can be accomplished, either by
physically connecting devices to the workstation, or wirelessly.
From this point, enrolled devices can be configured to meet enterprise
needs through a host of options including personalized app catalogs,
user restrictions, app blacklisting, and so forth. These
configurations help to ensure that all devices comply to set policies
while at the same time allowing users the best device experience
possible. At any time a device is enrolled into the network, MDM
software allows administrators to make policy changes, push apps,
install updates, and any other changes that are necessary.
Administrators can even disenroll and restrict devices whenever
necessary.
There is an alternative, you could enable developer options and enable USB debugging. Later a simple script that runs adb tcpip 5555
for all devices allowing you to connect them to a network. Now you can perform actions on all phones including keystrokes using keyevent
by relaying the devices. Something like adb shell input keyevent KEYCODE
.
I would prefer MDM as it is a little hassle-free, but using adb has worked for me