Skip to main content
Solved

Script/XML to delete VM from Subclient


Forum|alt.badge.img+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.

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
Did this answer your question?

8 replies

Forum|alt.badge.img+14

Forum|alt.badge.img+6
  • Author
  • Byte
  • 30 replies
  • November 20, 2023

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+14

We don’t have a qcommand.


Forum|alt.badge.img+6
  • Author
  • Byte
  • 30 replies
  • November 21, 2023

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


Forum|alt.badge.img+14

That’s right.


Forum|alt.badge.img+14

Forum|alt.badge.img+6
  • Author
  • Byte
  • 30 replies
  • November 23, 2023

Hi Sebastian, 


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


Forum|alt.badge.img+14

ok, great, please mark it as solved.

Thanks


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings