WinRM firewall exception will not work since one of the network connection types on this machine is set to Public. Change the network connection type to either Domain or Private and try again.
Solution: 1. Set all network to “private”; To find the network adapter profiles, type Get-NetConnectionProfile and press enter.