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
      Participant
      Topics: 2
      Replies: 136
      Points: 714
      Helping Hand
      Rank: Major Contributor

      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
  • You must be logged in to reply to this topic.