I've noticed that when we create a firewall rule through netsh advfirewall firewall
, it can be run multiple times, creating multiple identical firewall rules.
Is there any way of checking if the firewall rule exists before attempting to create a new one?
0 Replies