Search code examples
windowspowershellcommandremote-serverwinrm

POWERSHELL - Couldn't connect to a remote machine


Couldn't connect to a remote machine because of my password? My problem here :

I can connect remotely with the normal method like "mstsc", so my user and password are working fine. I do not understand why the password didn't work on powershell. Could you help me for that please? WinRM is enable on the remote machine.


Solution

  • Add your full command to the post for review.

    You should run your powershell session as an account that has proper access to the server.

    enter-pssession -computername "your PC Name" is the command.

    Powershell version will matter here to the device you are trying to connect to needs to be on powershell 3.0