VMware Cloud Community
truches
Contributor
Contributor

i want to create a forder in a resourcepool with the vsphere cli

want to create a forder in a resourcepool with the vsphere cli

0 Kudos
3 Replies
ryanrpatel
Enthusiast
Enthusiast

You cannot create a folder in a RP. You can only do that in a Datacenter or Folder.

0 Kudos
NathanosBlightc
Commander
Commander

new-folder -Name "Folder Name" -Server "vCenter Server"  -location "Container Name" (Container value can be only Datacenter, Cluster or a Top-level folder object types)

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos
nachogonzalez
Commander
Commander

Hi @truches resource pools do not allow folder creations.
Folders can only be created under the VMs and templates view.

Hope this works

0 Kudos