VMware Cloud Community
Dragonfly26
Contributor
Contributor
Jump to solution

Deploy template setting and setting the Location

Hi,

I'm trying to deploy a template with powercli. But i'm running to the next problem. On our vCenter environment we have a couple folder structiores with subfolders for the VM's with the same name example

Unix                         Windows

|_ Test                       |_Test

|_ Production              |_Production

Is there a way to specify in which subfolder to use? in my case the Production Windows subfolder when using new-vm  and setting the  -Loction

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can use the script from my Folder by Path post.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

You can use the script from my Folder by Path post.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Dragonfly26
Contributor
Contributor
Jump to solution

Thanks Luc, that was what i was looking for.

Reply
0 Kudos