Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh wlan set hostednetwork ?
Usage: set hostednetwork [mode=]allow|disallow [ssid=] [key=][keyUsage=]persistent|temporary
Parameters:
Tag Value mode Specifies whether to allow or disallow the hosted network. ssid SSID of the hosted network. key The user security key used by the hosted network. keyUsage Specifies whether the user security key is persistent or temporary.
Remarks:
This command changes the properties of hosted network, including: SSID of the hosted network, allow or disallow the hosted network in the system, and a user security key that is used by the hosted network.
The user security key should be a string with 8 to 63 ASCII characters, eg. a passphrase, or 64 hexadecimal digits which represent 32 binary bytes.
If keyUsage is specified as persistent, the security key will be saved and used when the hosted network is started again in future. Otherwise it will be used only when the current or next time the hosted network is started. Once the hosted network is stopped, the temporary security key will be deleted from the system. If keyUsage is not specified, it is persistent by default.
This command requires administrator privileges to allow or disallow the hosted network.
Examples:
set hostednetwork mode=allow set hostednetwork ssid=ssid1 set hostednetwork key=passphrase keyUsage=persistent
NETSH / WLAN / SET / HOSTEDNETWORK
netsh wlan set hostednetwork - Windows Seven - commandSet hosted network properties. - Windows Seven netsh, wlan, set, hostednetwork, cmd, command, Windows, Seven