Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set-HVPool - Try to modify pool template - Error #371

Closed
Sgwalker1969 opened this issue Jul 27, 2020 · 2 comments
Closed

Set-HVPool - Try to modify pool template - Error #371

Sgwalker1969 opened this issue Jul 27, 2020 · 2 comments

Comments

@Sgwalker1969
Copy link

Hi, how explain on subject, I would like to modify pool template by using the cmdlet Set-HVPool; I try the following code:

Set-HVPoll -PoolNmae "poolName' -key "AutomatedDesktopData.VirtualCenterProvisioningSettings.VirtualCenterProvisioningData.Template" -value 'NewTemplate'

I receive this error:

Exception calling "Desktop_Update" with "3" argument(s):

Error Message : "Invalid member name.

Could you help me?

Thanks

@psurad
Copy link

psurad commented Jul 28, 2020

Hi,
Please change the key to match the case of properties in the API docs as below:
'automatedDesktopData.virtualCenterProvisioningSettings.virtualCenterProvisioningData.template'

Refer link for API docs: https://code.vmware.com/apis/956/view

Thanks.

@Sgwalker1969
Copy link
Author

Sgwalker1969 commented Jul 28, 2020

Hi,
Please change the key to match the case of properties in the API docs as below:
'automatedDesktopData.virtualCenterProvisioningSettings.virtualCenterProvisioningData.template'

Refer link for API docs: https://code.vmware.com/apis/956/view

Thanks.

Thank you so much! It's works.

Have a nice day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants