VMware {code} Community
taints69
Contributor
Contributor

How to automate creating a folder in vsphere?

Anyone know how to create a folder/container in vsphere through the CLI? I can only do so via the vsphere gui. Ive found the tables in the db, but not sure how the ID is generated in the VPX_ENTITY table

Reply
0 Kudos
1 Reply
stumpr
Virtuoso
Virtuoso

Have you looked at CreateFolder?

Reuben Stump | http://www.virtuin.com | @ReubenStump
Reply
0 Kudos