what you did was to ask your wireless card or system setup to behave like a router.By typing following;
netsh called the netsh command
wlan you indicated which hardware you wanted to start working with
set Basically a command to netsh to do something
hostednetwork What you asked netsh to concentrate on
mode=allow You asked for the hostednetwork to be allowed for communication -basically
ssid= Whatever you put after the = sign is the ID or name you gave the hostednetwork
key= That is the password to the hostednetwork
If you added keyUsage= then you are defining how the key should be used (usually persistent follows the = sign)
Now after doing this you can either turn it on or leave it there. If you turn it on, you can leave it to run so you connect with your other devices (after you share your internet connection through it) or turn it off if you want to.
To turn it on, just type netsh wlan start hostednetwork
I guess you get the whole gig by now...you are simply asking for it to be started.
To turn is off, well your guess is as good as mine..., netsh wlan stop hostednetwork
Revert if you still have any issues. Dont worry, if you dont turn it on, it will have no effect on your system anyway. An at least the password sort of protects and regulates who gets access to it...thus if you give them access.
3Never execute commands if you don't have at least a vague idea of what you are doing. Especially on a command line, if you are not familiar with it. – user1301428 – 2014-04-24T13:20:16.913