I am looking for a way to change and save the "HiveManager Primary Name" in about 2500 AP's which are installed in about 200 locations. The AP's are managed by our own HiveManager. At every location I have access to a linux-server, so if this is not possble through the HM, the preferred way seems to be to create a script (bash, perl). I can send commands through ssh but all methods I know to send multiple commands (i.e. "capwap client server name servername" and "save config") don't work.
Any advice on how to approach this is very welcome as I don't want to spend the next two weeks ssh-ing into al the AP's and changing the value by hand.