I am getting "Current license or ESXi version prohibits execurtion of the requested operation" running the following command from a remote powershell client.
PS C:\Windows> get-advancedsetting -entity (get-vm SERVER) -name 'Devices.Hotplug' | Set-AdvancedSetting -value 'true'
Set-AdvancedSetting : 3/21/2013 3:10:02 PM Set-AdvancedSetting Current license or ESXi version prohibits
execution of the requested operation.
At line:1 char:79
+ get-advancedsetting -entity (get-vm iowavmaod40tst) -name 'Devices.Hotplug' | Se ...
+ ~~
+ CategoryInfo : NotSpecified: (:) [Set-AdvancedSetting], RestrictedVersion
+ FullyQualifiedErrorId : Client20_SystemManagementServiceImpl_UpdateVMAdvancedOption_VIError,VMware.VimAutomation.ViCo
re.Cmdlets.Commands.SetAdvancedSetting
Shouldn't PS C:\Windows> get-advancedsetting -entity (get-vm iowavmaod40tst) -name 'Devices.Hotplug' | Set-AdvancedSetting -value 'true'
Set-AdvancedSetting : 3/21/2013 3:10:02 PM Set-AdvancedSetting Current license or ESXi version prohibits
execution of the requested operation.
At line:1 char:79
+ get-advancedsetting -entity (get-vm iowavmaod40tst) -name 'Devices.Hotplug' | Se ...
+ ~~
+ CategoryInfo : NotSpecified: (:) [Set-AdvancedSetting], RestrictedVersion
+ FullyQualifiedErrorId : Client20_SystemManagementServiceImpl_UpdateVMAdvancedOption_VIError,VMware.VimAutomation.ViCo
re.Cmdlets.Commands.SetAdvancedSetting
I was under the impression this could be done with ESXi? Am I mistaken?
Thanks
Are you using a free ESXi license ?
If yes, then you only have read access with the PowerCLI cmdlets I'm afraid.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Are you using a free ESXi license ?
If yes, then you only have read access with the PowerCLI cmdlets I'm afraid.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks LucD, total noob here. I was under the impression ESX was the premium version & ESXi free and that the only stipulation was that I registered it. What I did was register it using the free license giving me the limited feature set. Gotcha. That probably limits my automation capabilities lol