cohesity / cohesity-powershell-module

This repository provides a PowerShell Module for Cohesity DataPlatform. https://cohesity.github.io/cohesity-powershell-module
Apache License 2.0
42 stars 16 forks source link

Please allow "Overwrite Existing VM" for Restore-CohesityVMwareVM command. #212

Closed KuJoe closed 1 year ago

KuJoe commented 1 year ago

🚀 Feature Request

Please add a flag to allow overwriting existing VMs like in the GUI (Existing VM Handling) so that we can restore a VM via Powershell using the Restore-CohesityVMwareVM command without having to delete it in VMware first.

Example or reference

Maybe something like -Overwrite so it'd look like this: Restore-CohesityVMwareVM -TaskName "Test-Restore" -SourceId 2 -JobId 8 -Overwrite -DisableNetwork -PoweredOn

naveena-maplelabs commented 1 year ago

Code changes are pushed to repo, will be available in the next release.