Powershell RRS feed

  • Question

  • Hi I have my windows 10 local machines and 2 vms which are windows 2019 server and windows 10 pro

    I have enabled Wsmancredssp as client on my local computer and wsmancredssp as sever on both the vms

    The 3 machines are not joined to any domain

    I can do a powershell remoting from my local computer to windows server 2019 but when i try to access my windows 10 pro i get the message "Access is denied"

    but when i change the command like this :

    invoke-command -computername -ScriptBlock { get-process }  -Authentication credssp -Credential get-cred
    [] Connecting to remote server failed with the following error message : A specified
    logon session does not exist. It may already have been terminated. For more information, see the
    about_Remote_Troubleshooting Help topic.
        + CategoryInfo          : OpenError: ( [], PSRemotingTransportException
        + FullyQualifiedErrorId : 1312,PSSessionStateBroken

    i get this error message

    really confused

    Please need some help!

    Thursday, September 10, 2020 12:36 PM