Hi @Wang, Tianyu 1. (EXT - JP/Kawasaki)
There is no native function in Windows to use cmd line to switch bluetooth devices.
There are tools out there such as "Bluetooth command line tools" but it is not official support by Microsoft and it is advised to use it at your own risk.
--------------------------
If this is helpful please mark as correct answer.