Yes, because when I start the script on a computer in the same domain as the target computer the command is executed without problems.