In this video, we will learn how to Turn ON/OFF Windows Firewall Using Command-Line, PowerShell. Please Subscribe to my Channel.
#Check Windows Firewall status
netsh Advfirewall show allprofiles
#To turn off the firewall:
netsh advfirewall set allprofiles state off
#To turn the firewall back on:
netsh advfirewall set allprofiles state on
Ещё видео!