I searched a lot related to netsh
and ipconfig /renew
and ipconfig /release
.
My idea is to write a batch file that would automatically connect to a particular wireless local area network using a network interface .
I tried using ipconfig /renew release
... but it cannot be used as my intention is to keep the media in a disconnected state before running the batch file ..
any suggestions ?
Edit:
Narrowed it down to
connect name=Profile2 ssid=SSID2 interface="Wireless Network Connection"
Where do i find the "name" in network and sharing center?