VMware Cloud Community
surfnturf81
Contributor
Contributor
Jump to solution

Get/Set/New-AdvancedSetting ESXi

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

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

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

0 Kudos
surfnturf81
Contributor
Contributor
Jump to solution

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

0 Kudos