By default a PowerShell agent uses port 5985 for a regular connection and 5986 for a secure connection. These ports can be customized however, making it worthwhile to try if other paths are blocked.
Enter-PSSession -Computer PROXY01
Last updated 2 years ago