To disable the Firewall run the cmdlet below:
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled false
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled false
I run the cmdlet below to check the status of all the Firewall profiles:
Get-NetFirewallProfile