I'm trying to share my site in the local network. I want to use command line tool to perform this action.
Manually: To enable http access through Windows Firewall on Windows 7. From the start menu begin typing "Allow a program through Windows Firewall". Scroll the bottom of the list and look for World Wide Web Services (HTTP) and enable it on your networks. It works fine.
Command line doesn't work:
>> netsh advfirewall firewall set rule name="World Wide Web Services (HTTP)" new enable=yes
Error: No rules match the specified criteria.
What is wrong in the command line?