Solved

Script/XML to delete VM from Subclient

  • 20 November 2023
  • 8 replies
  • 52 views

Badge +6

I am looking for a command wherein i can just give VM Name and delete that VM from Subclient which has many VMs in it. Is there a command or an XML using which this can be achieved. Need to use it for decommission process.

icon

Best answer by Sebastien Merluzzi 23 November 2023, 09:30

View original

8 replies

Userlevel 6
Badge +14

Hi @Rahul Nair ,

Can you check this:

https://documentation.commvault.com/2023e/essential/101876_remove_cvvirtualmachine.html

Best Regards,

Sebastien

Badge +6

Yeah i went through this but I am not looking for a powershell module. Anything through XML or a qcommand. I will have to first identify the VCenter name and subclient name through VMName and then use those in the script so looks to be a bit tedious. Any help would be appreciated.

Userlevel 6
Badge +14

We don’t have a qcommand.

Badge +6

okay, so the only option to use is Powershell module?

Userlevel 6
Badge +14

That’s right.

Userlevel 6
Badge +14

This one: 

https://documentation.commvault.com/2023e/expert/32427_deleting_virtual_machine_from_subclient_vmware_command_line.html

Is this what you are looking for?

Badge +6

Hi Sebastian, 


Yes thats right i was looking for this. thanks a lot for the help.

Userlevel 6
Badge +14

ok, great, please mark it as solved.

Thanks

Reply