Unable to run Remote commands

S C:\Users\administrator.SOURCEDOMAIN> ping abc

Pinging ABC.SourceDomain.com [192.168.29.65] with 32 bytes of data:
Reply from 192.168.29.65: bytes=32 time<1ms TTL=128
Reply from 192.168.29.65: bytes=32 time<1ms TTL=128
Reply from 192.168.29.65: bytes=32 time<1ms TTL=128
Reply from 192.168.29.65: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.29.65:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
PS C:\Users\administrator.SOURCEDOMAIN> hostname
DESKTOP-L50
PS C:\Users\administrator.SOURCEDOMAIN> get-pssession -computername ABC
get-pssession : The remote session query failed for ABC with the following error message: The client cannot connect to
the destination specified in the request. Verify that the service on the destination is running and is accepting
requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly
IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and
configure the WinRM service: "winrm quickconfig".
At line:1 char:1
+ get-pssession -computername ABC
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Manageme...nConnectionInfo:WSManConnectionInfo) [Get-PSSession
   ], RuntimeException
    + FullyQualifiedErrorId : CannotConnect,RemotePSSessionQueryFailed,Microsoft.PowerShell.Commands.GetPSSessionComma
   nd

PS C:\Users\administrator.SOURCEDOMAIN>

I am unable to run powershell remoting commands from a domain joined system(win 10) to the server 2016(dc).

This is my test lab created in VMware workstation software. Abc is domain controller and desktop-l50 is the domain joined system. Please find screen shot and suggest on this.

Note: winrm service is running fine on dc.

Aseem,
Welcome to the forum. :wave:t4:

Wow … no server administrator should ever post a screenshot with such a poor quality made with a smartphone. :smirk:
In fact you should not post images of code or error messages at all. Instead post the text of it formatted as code. :point_up_2:t4:

When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.

Thanks in advance

How to format code in PowerShell.org <---- Click :point_up_2:t4: :wink:

Please read the following help topics completely