bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 40 forks source link

registerVcenter.ps1 useVmBiosUuid #153

Closed jidelaf closed 4 months ago

jidelaf commented 4 months ago

Hi Brian, In powershell script script registerVcenter.ps1 Would it be possible to have the option to enable the GUI option "Use VM BIOS UUID to track virtual machines" ?

I believe it could be this parameter useVmBiosUuid

https://developer.cohesity.com/apidocs/681-v2/#/http/api-endpoints/source/register-protection-source

That's an option that can only be set when registering a vcenter and can't be modified afterward. And we do require it in all our vcenters. It would be great to have that option so we can fully automate our new Vcenter configurations

Thank you!

bseltz-cohesity commented 4 months ago

Done! https://github.com/cohesity/community-automation-samples/tree/main/powershell/registerVcenter I have added a -useVmBiosUuid parameter

jidelaf commented 4 months ago

Amazing! Thank you!