I am struggling to find a proper answer about PSRemoting, hope you can help me.
I want to connect a non trusted domain controller using PSremoting. I’ll authenticate in that domain controller with a user from that remote domain only. Firewall devices are exists in the network. Which ports need to be open for communication?
As per document I have opened 5985 port at firewall and at client have added the domain in trusted host list, also added IP details in host file as there is no DNS. I am able to establish connection (verified using netsh) but authentication is getting failed saying invalid username or password. Could you please guide me further? (Credential is correct).
I want to execute cmdlets like get-aduser, gpo, replicationmetadata etc through PSremoting session. I want to open only those ports those are really required. Your guide may help me a lot.