How to use Windows Admin Center to connect to a remote computer that has custom WinRM port?

HotCakeX 86 Reputation points
2022-10-10T11:10:55.03+00:00

My remote computer has a custom HTTPS WinRM port, I can connect to it using Enter-PSSession just fine and everything works as expected, but don't know how to do it in Windows Admin Center, couldn't find any related info about using custom ports in WAC. I tried IP:port combination in computer name in WAC when adding a new Windows PC, but it couldn't find it. I need to use IP because my 2 computers are 2 separate client PCs, no server, AD or domain controller exists and they aren't on the same network, but like I mentioned, using PowerShell it works flawlessly.

Enter-PSSession -ComputerName "IP Address" -UseSSL -Credential (Get-Credential) -SessionOption (New-PSSessionOption -SkipCACheck) -port "Custom Port Number"  

But what's the right way to do this for Windows Admin Center?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,992 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 42,071 Reputation points
    2022-10-10T12:45:27.323+00:00

    Hi @HotCakeX ,

    Please check this article and steps listed for setting up the WAC and configuration, 113966-windows-admin-center-centrally-manage-all-your-windows-10-pcs.html

    Hope this helps.

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.