Powershell Remote to different computer


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

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