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.