VMware Cloud Community
mimo974
Contributor
Contributor
Jump to solution

Delete folder of vm by esxi

Hello everyone,

I want to delete an old folder of one vm directly on my esxi.

Someone know the command to delete it ?

For example, the name of folder is : TEST01

Thanks for help.

0 Kudos
1 Solution

Accepted Solutions
Alex_Romeo
Leadership
Leadership
Jump to solution

Hi,

Se non è presente nell'invertario dell'Esxi you can go directly to the datastore, select the folder "TEST01" and with the right button click on Delete. Se invece è presente tra le virtual machine inventariate, devi selezionare la VM e cliccare con il tasto dx su "Delete".

From list Vm:

pastedImage_0.png

From Datastore:

pastedImage_1.png

or

Remove-VM

ARomeo

Blog: https://www.aleadmin.it/

View solution in original post

0 Kudos
3 Replies
Alex_Romeo
Leadership
Leadership
Jump to solution

Hi,

Se non è presente nell'invertario dell'Esxi you can go directly to the datastore, select the folder "TEST01" and with the right button click on Delete. Se invece è presente tra le virtual machine inventariate, devi selezionare la VM e cliccare con il tasto dx su "Delete".

From list Vm:

pastedImage_0.png

From Datastore:

pastedImage_1.png

or

Remove-VM

ARomeo

Blog: https://www.aleadmin.it/
0 Kudos
mimo974
Contributor
Contributor
Jump to solution

Just for more informations. The VM has been removed from the inventory not from the disk so i dont have it from my vCenter but just from my datastore.

And on my datastore i can delete the folder just files.

So its for that i want delete the folder from esxi.

0 Kudos
scott28tt
VMware Employee
VMware Employee
Jump to solution

Use Datastore Browser


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos