It might be a stupid question, but why doesn't Powercli 6 allow me to add new VM's on a ESXi 6.0 hyper visor?
I keep getting the following error;
PowerCLI C:\> new-vm -vmhost 10.0.0.200 -name dc02 -Datastore DataStore1 -DiskMB 10240
new-vm : 18/02/2016 22:11:36 New-VM Current license or ESXi version prohibits execution of the requested
operation.
At line:1 char:1
+ new-vm -vmhost 10.0.0.200 -name dc02 -Datastore DataStore1 -DiskMB 10 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-VM], RestrictedVersion
+ FullyQualifiedErrorId : Client20_VmServiceImpl_NewVM_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM
Has anyone else seen this?
Are you using free ESXi?
API usage is restricted in this Edition.
Yes, I am using the free version of ESXi.
I didn't realise there were API restrictions, I will have a read about them thanks.
Hi DanielOatesLee,
Keep in mind that you can also use the 60 day evaluation which unlocks all enterprise features. It's common for learning and practice to grab a new key every 60 days and reinstall ESXi and point to your existing VMs again. Just an option, and VMware doesn't mind that. You need to use a new email every time though.
The best option though is VMUG Advantage which gets you licenses and a bunch of other goodies: