macos – What is the exact equivalent of this netsh Windows command for MAC? The command is attached in the body

I want to block all networks from my PC with admin access and make it so that the user cannot reverse the changes. I will use admin access to only white list certain networks that will be visible to the user and all other WiFi networks are blocked. I am blocking all connections in Windows with the following command. Since I am just starting out with MAC, any help in this regard is appreciated.

netsh wlan add filter permission=denyall networktype=infrastructure

Windows 7 – netsh advfirewall firewall dump returns no result

Props: Windows 7, Windows Firewall, my account is configured as administrator, CLI also as administrator

Since some rules entered through the GUI did not work as expected, I tried to check the rules on the command line.

However, neither the netsh firewall dump nor the netsh advfirewall firewall dump show more than a few blank rows.

Are the GUI and CLI firewalls two different things?
What am I doing wrong?

Wireless Networking – How can I limit the number of users who can connect to a Windows Access Point through netsh?

I have a wireless dongle with the RTL8188EUS chipset. I use it to create an access point from a Windows 7 computer. However, I have found that the dongle shuts off when 12 or more people are connected to it and I need to restart the computer Hosted network,

When I do

netsh wlan show hostednetwork

it turns out that the maximum number of customers is 100.

Mode: Allowed
SSID name: "Name"
Maximum number of customers: 100
Authentication: WPA2-Personal
Numeral: CCMP

Is there a way to match this number with the netsh Command, does it require extra work?

Thanks for the answer.

ssl certificate – netsh "Error: 87 The parameter is incorrect" when using hostname port

I successfully use the following command netsh:

netsh http add sslcert ipport = 127.0.0.1: 9000 appid = {7B8DB713-2C51-41B5-AE6F-6DAA07833DBE} certhash = 69fed34fdf164e7feac5e17823b94d0f30ab05c5

but if I change "ipport = …" to "hostnameport" it will not work:

netsh http add sslcert hostnameport = localhost: 9000 appid = {7B8DB713-2C51-41B5-AE6F-6DAA07833DBE} certhash = 69fed34fdf164e7feac5e17823b94d0f30ab05c5

I get the following error message:
Error while adding the SSL certificate, error: 87
The parameter is wrong.

This is the ONLY THING I changed in the command. I'm still working as an administrator, exactly the same prompt. Why am I getting this error?