1 person found this helpful
Did you ever resolve this? I'm curious if you could check the date and time settings on the host in particular. I've not seen it happen via PowerCLI (mainly because I don't typically use PowerCLI to add hosts to vCenter) but many times I cannot add a brand new host to vCenter due to a license error, but the problem is that the date/time is so far off on the server that the evaluation key becomes invalid. Once I fix the date/time, it lets me add it just fine, then I can assign a real license after that.
It is a bit of a reach here since you said you can manually use the vSphere Client to add hosts just fine, but it isn't totally clear whether you can add this particular host via the vSphere Client or some other host that maybe didn't have a date/time issue.
i had this issue today and like Allen suggested, i check date/time .I believe that in my case i am receiving this alert because esx date was set to year 2011 for some reason, and when i logged directly to host, i could see that host license has expired(although it was installed few hours ago). Even when i have corrected the date/time he still claims that this license is expired and i can't add host via powercli. When addining it manually to VC, no issue.
I tried many different things, but still not resolved.
Your remark about date/time seems really good. As soon as I get another ESXi reinstall I will try to fix the date before to add it with powecli.
I will keep you updated, maybe not this months though.
Thanks a lot!
I am having same issue, what was the resolution?
Still no resolution found. This year I have to work on automating ESX 5.1 installation, so I will probably get back to you hopefully with a solution.