The key here is to disable the adapters that you don't want the hostednetwork to start on. If you only have one active adapter and run:
netsh wlan set hostednetwork mode=allow ssid=Your_SSID key=Your_Passphrase
netsh wlan start hostednetwork
then it will auto assign itself to that adapter. ( If you do not know the names of your network adapters, you can get a list by entering netsh wlan show drivers
at the command prompt. Be sure to put the adapter name in quotes in the following commands if there is a space in the names.)
Since you have 2 wireless adapters, wifi1 and wifi2, and you want it to run on wifi2, you can disable wifi1, run script, then enable wifi1 again. This forces hostednetwork on wifi2.
Code:
netsh interface set interface name="Wi-Fi1" admin=disabled
netsh wlan set hostednetwork mode=allow ssid=Your_SSID key=Your_Passphrase
netsh wlan start hostednetwork
netsh interface set interface name="Wi-Fi1" admin=enabled
Note: May need to run this batch as administrator.