Blacklist or Whitelist WiFi Network Names
Windows terminal commands to Blacklist WiFi names (SSID’s) from view or Whitelist your own name (SSID) and block all others from view
Blacklist method
Block WiFi name:
netsh wlan add filter permission=block ssid="name" networktype=infrastructure
Unblock WiFi name:
netsh wlan delete filter permission=block ssid="name" networktype=infrastructure
Show all the Filters:
netsh wlan show filters
Whitelist method
Allow your own WiFi:
netsh wlan add filter permission=allow ssid="name" networktype=infrastructure
Deny all other WiFi:
netsh wlan add filter permission=denyall networktype=infrastructure
Delete deny all other WiFi filter:
netsh wlan delete filter permission=denyall networktype=infrastructure