<?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 Using Set-SMHVDataset to bulk add VM's in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Set-SMHVDataset-to-bulk-add-VM-s/m-p/97099#M4048</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use the Set-SMHVDataset Cmd-Let to add over 600 Hyper-V VM's into the relevant dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script but the Cmd-Let just seems to hang and doesn't set anything. &amp;nbsp;If I create a Dataset from scratch using the Add-SMHVDataset Cmd-Let it will create it but still will not add any hosts or VM's into it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I enter the command as below:&lt;/P&gt;&lt;P&gt;Set-SMHVDataset -DataSetName DS1 -VM's @{"Host"="Cluster1"; "Names"="VM1"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyone who has got this to work in their environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:24:25 GMT</pubDate>
    <dc:creator>Adam_D</dc:creator>
    <dc:date>2025-06-05T05:24:25Z</dc:date>
    <item>
      <title>Using Set-SMHVDataset to bulk add VM's</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Set-SMHVDataset-to-bulk-add-VM-s/m-p/97099#M4048</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use the Set-SMHVDataset Cmd-Let to add over 600 Hyper-V VM's into the relevant dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script but the Cmd-Let just seems to hang and doesn't set anything. &amp;nbsp;If I create a Dataset from scratch using the Add-SMHVDataset Cmd-Let it will create it but still will not add any hosts or VM's into it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I enter the command as below:&lt;/P&gt;&lt;P&gt;Set-SMHVDataset -DataSetName DS1 -VM's @{"Host"="Cluster1"; "Names"="VM1"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyone who has got this to work in their environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:24:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Set-SMHVDataset-to-bulk-add-VM-s/m-p/97099#M4048</guid>
      <dc:creator>Adam_D</dc:creator>
      <dc:date>2025-06-05T05:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set-SMHVDataset to bulk add VM's</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Set-SMHVDataset-to-bulk-add-VM-s/m-p/97277#M4050</link>
      <description>&lt;P&gt;Just wondering if it has to do with the scope of the cluster. I just tested in my environment following with success:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set-SMHVDataSet -DataSetName "mydataset" -VMs @{"Host"="localhost"; "Names"="*"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give it a try with the local node name or IP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Dan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:21:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Set-SMHVDataset-to-bulk-add-VM-s/m-p/97277#M4050</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2014-11-19T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set-SMHVDataset to bulk add VM's</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Set-SMHVDataset-to-bulk-add-VM-s/m-p/97333#M4054</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've run it with both the Cluster Name and the host name with both giving the same issue. &amp;nbsp;I use the clustername as if you do a Get-SMHVDataset it is the cluster name that shows, not the node name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same error occurs using the IP address of the cluster so it's not a name resolution issue. &amp;nbsp;I've also run with a wildcard for the VM's with no success incase it was related to the VM names&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've have just tried running our VMM server too, rather than our Orchastrator server where we are hoping to do all our automated management of the environment incase it was a server thing but the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2014 02:47:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Set-SMHVDataset-to-bulk-add-VM-s/m-p/97333#M4054</guid>
      <dc:creator>Adam_D</dc:creator>
      <dc:date>2014-11-20T02:47:56Z</dc:date>
    </item>
  </channel>
</rss>

