<?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 Re: Add security tag to a new vm in NSX-T with powershell in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2866159#M103225</link>
    <description>&lt;P&gt;Based on the API doc, page size is limited to 1000.&amp;nbsp;&lt;A href="https://vdc-download.vmware.com/vmwb-repository/dcr-public/d6de7a5e-636f-4677-8dbd-6f4ba91fa5e0/36b4881c-41cd-4c46-81d1-b2ca3a6c693b/api_includes/method_ListAllVirtualMachines.html" target="_blank"&gt;https://vdc-download.vmware.com/vmwb-repository/dcr-public/d6de7a5e-636f-4677-8dbd-6f4ba91fa5e0/36b4881c-41cd-4c46-81d1-b2ca3a6c693b/api_includes/method_ListAllVirtualMachines.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I don't see anyway that you could get a filtered list from this api endpoint in particular.&amp;nbsp; Weird that they would limit it to 1000.&amp;nbsp; Seems like an oversight, but depending on what you are trying to accomplish from this particular call, there might be another way.&lt;/P&gt;&lt;P&gt;What is it that you are trying to do exactly&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/3305932"&gt;@cvv2&lt;/a&gt;&amp;nbsp; ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Sep 2021 13:41:22 GMT</pubDate>
    <dc:creator>Zsoldier</dc:creator>
    <dc:date>2021-09-09T13:41:22Z</dc:date>
    <item>
      <title>Add security tag to a new vm in NSX-T with powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2865861#M103214</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I found a nice powershell script (&lt;A href="https://www.vrealize.it/2019/12/22/add-or-remove-tags-in-nsx-t-with-powercli/" target="_blank"&gt;https://www.vrealize.it/2019/12/22/add-or-remove-tags-in-nsx-t-with-powercli/&lt;/A&gt;) But I run into the problem of the limit of "1000" I see with ($vmdata.help.list) that the page_size is default 1000. Does anyone have a solution for this so that the list returns more than 1000?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 09:22:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2865861#M103214</guid>
      <dc:creator>cvv2</dc:creator>
      <dc:date>2021-09-08T09:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add security tag to a new vm in NSX-T with powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2865996#M103215</link>
      <description>&lt;P&gt;Since the post hasn't been updated since it was published, I suspect the author didn't get an answer.&lt;BR /&gt;Why don't you ask the question as a Reply on that blog post?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:47:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2865996#M103215</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2021-09-08T20:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add security tag to a new vm in NSX-T with powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2866159#M103225</link>
      <description>&lt;P&gt;Based on the API doc, page size is limited to 1000.&amp;nbsp;&lt;A href="https://vdc-download.vmware.com/vmwb-repository/dcr-public/d6de7a5e-636f-4677-8dbd-6f4ba91fa5e0/36b4881c-41cd-4c46-81d1-b2ca3a6c693b/api_includes/method_ListAllVirtualMachines.html" target="_blank"&gt;https://vdc-download.vmware.com/vmwb-repository/dcr-public/d6de7a5e-636f-4677-8dbd-6f4ba91fa5e0/36b4881c-41cd-4c46-81d1-b2ca3a6c693b/api_includes/method_ListAllVirtualMachines.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I don't see anyway that you could get a filtered list from this api endpoint in particular.&amp;nbsp; Weird that they would limit it to 1000.&amp;nbsp; Seems like an oversight, but depending on what you are trying to accomplish from this particular call, there might be another way.&lt;/P&gt;&lt;P&gt;What is it that you are trying to do exactly&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/3305932"&gt;@cvv2&lt;/a&gt;&amp;nbsp; ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 13:41:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2866159#M103225</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-09-09T13:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add security tag to a new vm in NSX-T with powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2866328#M103235</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/259537"&gt;@Zsoldier&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to set a security tag(s) (NSX-T) on a new created VM. The new VM is created with a Powershell script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 09:01:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2866328#M103235</guid>
      <dc:creator>cvv2</dc:creator>
      <dc:date>2021-09-10T09:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add security tag to a new vm in NSX-T with powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2866404#M103236</link>
      <description>&lt;P&gt;You could maybe start here then as part of your new VM build script:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2863049#M102859" target="_blank" rel="noopener"&gt;https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2863049#M102859&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 15:31:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2866404#M103236</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-09-10T15:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add security tag to a new vm in NSX-T with powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2867603#M103341</link>
      <description>&lt;LI-SPOILER&gt;Thank you, with a few tweaks my rollout script worked the way I want again.&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 20 Sep 2021 13:34:33 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Add-security-tag-to-a-new-vm-in-NSX-T-with-powershell/m-p/2867603#M103341</guid>
      <dc:creator>cvv2</dc:creator>
      <dc:date>2021-09-20T13:34:33Z</dc:date>
    </item>
  </channel>
</rss>

