Powershell Remote to different computer

This topic contains 1 reply, has 2 voices, and was last updated by  Richard Siddaway 3 years, 5 months ago.

  • Author
  • #22645

    Win Nernsai


    I am new for powershell cmdlets.
    and i want to use powershell to remote to
    another computer in my company, then i try to follow
    article on technet but some computer i can't remote in.
    and i want to use powershell to remote to remote computer without
    user on that computer have to login and this is i get error.

    Enter-PsSession : Connecting to remote server WIN-FO3OG88R8D7 failed with the following error message : The WinRM client cannot proces
    s the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + Enter-PsSession -ComputerName WIN-FO3OG88R8D7 -Credential Administrator
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (WIN-FO3OG88R8D7:String) [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

  • #22646

    Richard Siddaway

    Sounds like the remote machine doesn't have a DNS entry that can be resolved. Either create a DNS entry or an entry in your hosts file

You must be logged in to reply to this topic.