Reconnect your Surface Pro 3 after hibernate

My Surface Pro 3 has been behaving strangely: when it starts (e.g. when it comes out of hibernate mode... probably), it invariably says that it is connected to the Wifi... and I always have to disconnect and reconnect it to get online.

Lacking time to really investigate further (I suspect it is related to the hyper-v / Instant-go issue...) I resolved the issue at home by simply putting a batch file on my desktop that does the following:

netsh wlan disconnect
netsh wlan connect name=WIFIMOTHEP

Nota: "WIFIMOTHEP" is the name of the Profile you want to connect to. Type "netsh wlan show profile" for more.

PS: Thanks Scott Hanselman for the idea.