All of our admin accounts are on one domain, and we have permissions through these accounts to access workstations on all of the other domains. With WinRM, if we try to PSRemote (Enter-PSSession) to a computer that is on the same domain as our accounts, it works fine. If we try to PSRemote to a workstation on one of the other domains, it will only work if we use FQDN or pass through credentials using the -credential switch.
Example:
ADMIN ACCOUNT on DOMAINA
Computer1 is on DOMAINA
COMPUTER2 is on DOMAINB
Enter-PSSession COMPUTER1 - Connects fine
Enter-PSSession COMPUTER2 - Fails to connect
Enter-PSSession COMPUTER2.FQDNDOMAINB - Connects fine
Enter-PSSession COMPUTER2 -Credential DOMAINA\ADMIN - Connects fine
Does anyone know how we can get this to work by just specifying the computername? DNS is configured properly, we can ping and connect to c$ of the PC's without using FQDN, the issue just lies within WinRM / possible AD configuration?