Start powershell with different domain credentials

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.

 

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.)