Start powershell with different domain credentials

Welcome Forums General PowerShell Q&A Start powershell with different domain credentials

Viewing 1 reply thread
  • Author
    Posts
    • #183549
      Participant
      Topics: 2
      Replies: 1
      Points: 6
      Rank: Member

      HI All,

      I am trying to start the Active Roles Management Shell using my privileged credentials (domain is diff) however got error message that ‘invalid directory name’.

      cmdlet to use privileged credentials : start powershell -credential “”

      both domains have trust relationship

      Can someone assist here.

       

    • #184095
      Moderator
      Topics: 3
      Replies: 218
      Points: 1,187
      Helping Hand
      Rank: Community Hero

      Hi there,

      Ensure PS Remoting is enabled and also add the other domain FQDN to the TrustedHosts value…

      Get-Item WSMan:\localhost\Client\TrustedHosts
      it should be either the IPs, ServerName or ‘*’ (* is not suggestable for PROD cases.)
Viewing 1 reply thread
  • The topic ‘Start powershell with different domain credentials’ is closed to new replies.