Hi,
Yes that may be true. The dependencies are mentioned in the Invoke-Command details page (Invoke-Command).
If the remote computer is not in a domain that the local computer trusts, the computer might not be able to authenticate the user's credentials. To add the remote computer to the list of "trusted hosts" in WS-Management, use the following command in the WSMAN provider, where <Remote-Computer-Name> is the name of the remote computer:
Set-Item -Path WSMan:\Localhost\Client\TrustedHosts -Value <Remote-Computer-Name>
Also note for remote execution WinRM must be enabled on the system.