Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 205277

Re: PowerCLI script for deploying VMs via template using guest customizations

$
0
0

LucD, I tried the following and it seems to add the folder....."-Location WinXP".

 

New-VM-Name"$name_$suffix"-Template$template-OSCustomizationSpec$oscust  -Location WinXP -ResourcePool "DR View" -Datastore$dsc-WhatIf-RunAsync

 

Since "WinXP" is a subfolder I'm going to try the following to see if it works..."-Location DR_Workstations.WinXP".  Is that the correct syntax?  I'm not sure if the "." period will suffice.

 


Viewing all articles
Browse latest Browse all 205277

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>