For Windows 8, Windows Server 2012 and above when PowerShell remoting is enabled only the following firewall port is required


Windows Remote Management (HTTP-In)

This port allows the PowerShell remoting connection on port TCP/5985.



For operating systems prior to Windows 8 and Windows Server 2012, or when then scan method is set to Classic Only, see the firewall requirements (classic) section.