<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic VSC 6.2 Cmdlets - Not Creating VM in Correct Folder or Applying OS Custom Spec in VMware Solutions Discussions</title>
    <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/VSC-6-2-Cmdlets-Not-Creating-VM-in-Correct-Folder-or-Applying-OS-Custom-Spec/m-p/119918#M8644</link>
    <description>&lt;P&gt;For some reason when using the following the VM's get created but it does not put them in the correct folder and it does not apply the correct customization spec.&amp;nbsp; Any ideas why this would not be working.&amp;nbsp; Also is there a way to have the VM created using the "Cluster" instead of specifying a host.&amp;nbsp; Otherwise I need to create them all on a single host (there are 70) and then balance them through code afterwards using PowerCLI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not provide all the values for the different variables but they are all being defined and I have validated that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$CustSpec = "EnviroWeb"&lt;BR /&gt;$DestFolder = "QA Environment"&lt;BR /&gt;&lt;BR /&gt;$NewCloneTaskID = new-vscClone `&lt;BR /&gt;	-virtualMachineName $vmTemplateName `
	-ParentStorageSystemID $vmTemplateStorageID `
	-DestStorageSystemID $dsStorageID `
	-DataStoreName $dsName `
	-custSpecification $CustSpec `
	-specifiedDestinationVmFolder $DestFolder `
	-DestinationHostName $InitialESXHost `
	-DiskFormat THIN `
	-MemorySize 8192 `
	-VirtualProcessors 4 `
	-NewCloneNamesArray $thisBatchVMList `
	-AdvancedCloning&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 20:36:54 GMT</pubDate>
    <dc:creator>SteveGroner</dc:creator>
    <dc:date>2025-06-04T20:36:54Z</dc:date>
    <item>
      <title>VSC 6.2 Cmdlets - Not Creating VM in Correct Folder or Applying OS Custom Spec</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/VSC-6-2-Cmdlets-Not-Creating-VM-in-Correct-Folder-or-Applying-OS-Custom-Spec/m-p/119918#M8644</link>
      <description>&lt;P&gt;For some reason when using the following the VM's get created but it does not put them in the correct folder and it does not apply the correct customization spec.&amp;nbsp; Any ideas why this would not be working.&amp;nbsp; Also is there a way to have the VM created using the "Cluster" instead of specifying a host.&amp;nbsp; Otherwise I need to create them all on a single host (there are 70) and then balance them through code afterwards using PowerCLI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not provide all the values for the different variables but they are all being defined and I have validated that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$CustSpec = "EnviroWeb"&lt;BR /&gt;$DestFolder = "QA Environment"&lt;BR /&gt;&lt;BR /&gt;$NewCloneTaskID = new-vscClone `&lt;BR /&gt;	-virtualMachineName $vmTemplateName `
	-ParentStorageSystemID $vmTemplateStorageID `
	-DestStorageSystemID $dsStorageID `
	-DataStoreName $dsName `
	-custSpecification $CustSpec `
	-specifiedDestinationVmFolder $DestFolder `
	-DestinationHostName $InitialESXHost `
	-DiskFormat THIN `
	-MemorySize 8192 `
	-VirtualProcessors 4 `
	-NewCloneNamesArray $thisBatchVMList `
	-AdvancedCloning&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 20:36:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/VSC-6-2-Cmdlets-Not-Creating-VM-in-Correct-Folder-or-Applying-OS-Custom-Spec/m-p/119918#M8644</guid>
      <dc:creator>SteveGroner</dc:creator>
      <dc:date>2025-06-04T20:36:54Z</dc:date>
    </item>
  </channel>
</rss>

