Skip to main content
Solved

Script/XML to delete VM from Subclient

  • Nov 20, 2023 10:02 AM UTC
  • 8 replies
  • 95 views

Forum|alt.badge.img+5

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.

Best answer by Sebastien Merluzzi

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?

View original

8 replies

Forum|alt.badge.img+17

Hi @Rahul Nair ,

Can you check this:

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

Best Regards,

Sebastien


Forum|alt.badge.img+5
  • Author
  • Apprentice
  • Nov 20, 2023 3:53 PM UTC

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.


Forum|alt.badge.img+17

We don’t have a qcommand.


Forum|alt.badge.img+5
  • Author
  • Apprentice
  • Nov 21, 2023 8:12 AM UTC

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


Forum|alt.badge.img+17

That’s right.


Forum|alt.badge.img+17

Forum|alt.badge.img+5
  • Author
  • Apprentice
  • Nov 23, 2023 9:42 AM UTC

Hi Sebastian, 


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


Forum|alt.badge.img+17

ok, great, please mark it as solved.

Thanks