v CMD po zadání "netsh wlan show int" vypíše:
There is 1 interface on the system:
Name: Wi-Fi
Description: Intel Centrino Advanced-N 6230
GUID: (nějaký dlouhý číslo)
Physical address: (MAC adresa)
State: disconnected
Radio status: Hardware Off Software Off
Hosted Network Status: Not available
V powershellu ten skript je bez efektu.
$wmi mi vyhlásí chybu Invalid query "select * from Win32_NetworkAdapter where Wi-Fi'%Adapter%'"