Error Executing specific cmdlet via PS Remote

Welcome Forums General PowerShell Q&A Error Executing specific cmdlet via PS Remote

This topic contains 1 reply, has 2 voices, and was last updated by

10 months ago.

  • Author
  • #99802

    Points: 22
    Rank: Member

    Hello everyone,

    I'm trying to execute *-ADPrincipalGroupMembership cmdlet via PS Remote session but getting this below mentioned error:

    The operation being requested was not performed because the user has not been authenticated
    + CategoryInfo : NotSpecified: (ashok:ADPrincipal) [Get-ADPrincipalGroupMembership], ADException
    + FullyQualifiedErrorId : ActiveDirectoryServer:1244,Microsoft.ActiveDirectory.Management.Commands.GetADPrincipalG

    However the ps remoting to the DC is done with an enterprise admin priv.
    Execution policy has been set to Remotesigned and the client is added in trusted host list.
    Rest of the AD-cmdlets are running properly through PS Remote session.
    No problem while executing the cmdlet at server's PS console with same user priv.

  • #99826

    Points: 398
    Helping Hand
    Rank: Contributor

    Sounds like you might be running into the classic double hop problem.

    You'll probably have to manually specify credentials on the AD commands.

The topic ‘Error Executing specific cmdlet via PS Remote’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort