Make sure wifi-service is running:
sc query WlanSvc
Start wifi service if not running:
sc start WlanSvc
Get Adapters:
get-netadapter
Get only wifi adapters:
netsh wlan show interfaces
Get wifi networks in range:
netsh wlan show networks
Get wifi profiles on the system:
netsh wlan show profiles
Get wif profile on the system with key/password:
netsh wlan show profile name="wifi-profile-name-here" key=clear
Set wifi profile to private:
set-netconnectionprofile -name "wifi-profile-name-here" -NetworkCategory Private
Show wifi capabilities:
netsh wlan show wirelesscapabilities
Get network profiles currently in use on the system:
get-netconnectionprofile