CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    114

    Powershell remoting problem

    This is the powershell script I am executing in my client pc.

    Set ExecutePolicy Unrestricted

    $secureString=convertto-securestring "mypass56" -AsPlainText -Force

    $credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist "bordingvista.com.bd.local\tih",$secureString

    Invoke-Expression -ComputerName svrtst021-vpc -port 80 -credential $credentials -Command "c:\scrtipts\Remote.ps1"

    The Error I am getting is:

    Invoke-Expression : [svrtst021-vpc] The WinRM client cannot process the request. The WinRM cl
    ient tried to use Kerberos authentication mechanism, but the destination computer (svrtst021-vpc.bordingvista.com.bd.lo
    cal:80) returned an 'access denied' error. Change the configuration to allow Kerberos authentication mechanis
    m to be used or specify one of the authentication mechanisms supported by the server. If Kerberos mechanism is used, ve
    rify that the client computer and the destination computer are joined to a domain. Possible authentication mechanisms r
    eported by server: Negotiate
    At line:1 char:18
    + Invoke-Expression <<<< -ComputerName svrtst021-vpc -port 80 -credential $credentials -Co
    mmand "c:\scrtipts\Remote.ps1"

    svrtst021-vpc is a virtual pc which is connected to the same domain, that my client pc is connected to.Can anyone give any solution?

  2. #2
    Join Date
    Dec 2007
    Posts
    4

    Re: Powershell remoting problem

    For any kind of PC up gradation or PC maintenance a best place i know is PC Repair Experts you can have a look by yourself i hope you won't be disappointed because one of my friend referred me this site and by that time i am with this site and recommending others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured