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!
Asked
Active
Viewed 1,775 times
0

Ivanka Todorova
- 9,964
- 16
- 66
- 103

guiwhatsthat
- 2,349
- 1
- 12
- 24
-
1So what happens if you use just hostname? Do you get an error message? Nothing happens? Command is executed against wrong computer? Something else? – vonPryz Aug 25 '15 at 06:17
-
I don’t get any error message or somethings like that. It executes the command and I don’t get any return value – guiwhatsthat Aug 25 '15 at 06:46
-
does this help ? http://stackoverflow.com/a/25175854/381149 – Loïc MICHEL Aug 25 '15 at 07:39
-
@Kayasax we dont have a proxy there – guiwhatsthat Aug 25 '15 at 08:42
2 Answers
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

wavestone
- 79
- 6
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.