Error messages while executing script using remote session

OK then try this to confirm if it is the double hop problem. Note, remotely against a DC will still work fine because AD is it’s local database. Confirm it lists all domain users when ran directly on a machine. If it only returns the local users when using remoting, then it’s just not able to authenticate a second time.

invoke-command -ComputerName computer -ScriptBlock {
    Get-WmiObject -Class win32_useraccount

this gives all the users accounts on cfdc01.mydomain.Com

Is that your intended target? Did you see my message that running against a DC will work?