Quick question, I want to create a script for when I'm working to simplify the addition of a wireless network into a laptop one by one, I don't have a server to push things onto

I did some googling, I assume the script is
netsh wlan connect ssid=YOURSSID name=PROFILENAME
So I would modify it for my use,
netsh wlan connect ssid=DOETWAC00M001vl90g name=DOETWAC00M001vl90g
Now when I'm working, each location I'm installing to has a unique password.
Would that password box pop up each time I use it?
As in, it'll connect me to the wireless network but it'll still prompt me for a password per normal?
Any other information,
1. The network isn't broadcasted publicly.
2. It's an infrastructure network.