0

I’m using a tool which uses Invoke-Commands. Test-Connection and other commands works without the Fully Qualified Domain Name when I type in the computer name. But when I want to use the Invoke Commands I have the use the FQDN of the computer. Does someone also notice that? Is this so or is the any workaround? Thanks for your help!

4
  • 1
    So what happens if you use just hostname? Do you get an error message? Nothing happens? Command is executed against wrong computer? Something else? Commented Aug 25, 2015 at 6:17
  • I don’t get any error message or somethings like that. It executes the command and I don’t get any return value Commented Aug 25, 2015 at 6:46
  • does this help ? stackoverflow.com/a/25175854/381149 Commented Aug 25, 2015 at 7:39
  • @Kayasax we dont have a proxy there Commented Aug 25, 2015 at 8:42

2 Answers 2

1

its because your WSMANconfiguration is set to credssp and not basic.

credssp requires to enter FQDN rather than netbios name

I hope it helps

Sign up to request clarification or add additional context in comments.

Comments

0

I think this might provide you with the answer to your question along with why it is like that. I pretty positive that the commands share enought similarities to experience the same problem.

Powershell remoting with ip-address as target

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.