<?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>Zsoldier Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>Zsoldier Tracker</description>
    <pubDate>Fri, 17 Nov 2023 23:29:24 GMT</pubDate>
    <dc:date>2023-11-17T23:29:24Z</dc:date>
    <item>
      <title>Re: Update Guest OS Version</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Guest-OS-Version/m-p/2964198#M111587</link>
      <description>&lt;P&gt;I think it 'used' to be possible, but the current cmdlet set doesn't allow it.&amp;nbsp; I agree it would be nice if it would 'stage' the change for next reboot, but I think that is problematic because I don't think it actually plays a role until you reboot the VM itself (not just the guest OS reboot).&lt;/P&gt;&lt;P&gt;vCheck may need to be updated to read what the VMware tools report instead.&amp;nbsp; What plugin in vCheck complains?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 16:59:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Guest-OS-Version/m-p/2964198#M111587</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2023-04-17T16:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Update Guest OS Version</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Guest-OS-Version/m-p/2964164#M111583</link>
      <description>&lt;P&gt;I'm not aware that is possible via standard methods.&amp;nbsp; You could maybe update the configuration file, but that is a lot of work for little gain.&lt;/P&gt;&lt;P&gt;I wouldn't worry about it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-3B66132C-F3E7-4F86-836F-80A03AC99E2A.html" target="_blank" rel="noopener"&gt;Change the Configured Guest Operating System (vmware.com)&lt;/A&gt;&amp;nbsp;&amp;lt; Describes what that setting does.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 14:47:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Guest-OS-Version/m-p/2964164#M111583</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2023-04-17T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Quickstart for existing cluster</title>
      <link>https://communities.vmware.com/t5/VMware-vSAN-Discussions/Disable-Quickstart-for-existing-cluster/m-p/2933065#M14590</link>
      <description>&lt;P&gt;$Cluster = Get-Cluster&lt;/P&gt;&lt;P&gt;$Cluster.ExtensionData.AbandonHciWorkflow()&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 17:35:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSAN-Discussions/Disable-Quickstart-for-existing-cluster/m-p/2933065#M14590</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2022-10-11T17:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Applying NSXT Tag to a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2933057#M108702</link>
      <description>&lt;P&gt;SkipCertificateCheck is only available via Powershell Core I believe.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 16:25:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2933057#M108702</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2022-10-11T16:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Copy NSX-T Tags to VM_replica</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Copy-NSX-T-Tags-to-VM-replica/m-p/2866661#M103257</link>
      <description>&lt;P&gt;Sorry, haven't had time to dedicate to this as it requires a bit more work than a couple of simply lines.&amp;nbsp; I'll try to get to it this week.&amp;nbsp; Trying to make something "nice", but that's just my OCD kicking in.&lt;/P&gt;&lt;P&gt;You could use a combination of these two methods I wrote previously:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/Zsoldier/9eda954f0c972d17c124040d7759054a" target="_blank"&gt;https://gist.github.com/Zsoldier/9eda954f0c972d17c124040d7759054a&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/Zsoldier/1a42161e53e841e2e3f3d1e02bd159c4" target="_blank"&gt;https://gist.github.com/Zsoldier/1a42161e53e841e2e3f3d1e02bd159c4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 16:55:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Copy-NSX-T-Tags-to-VM-replica/m-p/2866661#M103257</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-09-13T16:55:13Z</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/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: Script Failing to Run</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-Failing-to-Run/m-p/2865715#M103198</link>
      <description>&lt;P&gt;Assuming that script is using the vmware.imagebuilder module, you'll need to run that particular script in "Windows Powershell" with vmware.powercli module installed.&lt;/P&gt;&lt;P&gt;Powershell Core is OS-agnostic version that not all modules have been ported to.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 16:03:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-Failing-to-Run/m-p/2865715#M103198</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-09-07T16:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Report For specific NSXT Tag Phrase</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-specific-NSXT-Tag-Phrase/m-p/2864662#M103073</link>
      <description>&lt;P&gt;&lt;SPAN&gt;$report = $Report.Results | where-object {$_.tags -like '*Locked*' -and $_.display_name -notmatch 'vmware-ioinsight'} | Select-Object display_name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this.&amp;nbsp; Also, still planning on answering your other question, but more involved.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 17:11:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-specific-NSXT-Tag-Phrase/m-p/2864662#M103073</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-08-31T17:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Copy NSX-T Tags to VM_replica</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Copy-NSX-T-Tags-to-VM-replica/m-p/2863541#M102925</link>
      <description>&lt;P&gt;I'm not aware of any.&amp;nbsp; My assumption is that you want to get the tags applied in NSX-T on a VM in vCenter, copy the tags associated w/ that and overwrite or append to a new replica VM?&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/2863077#M102861" target="_blank"&gt;Solved: Re: Applying NSXT Tag to a VM - VMware Technology Network VMTN&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 16:31:41 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Copy-NSX-T-Tags-to-VM-replica/m-p/2863541#M102925</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-08-24T16:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Applying NSXT Tag to a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2863049#M102859</link>
      <description>&lt;P&gt;Have you tried running the code I posted above verbatim?&amp;nbsp; There are lots of problems w/ the way that you've modified your script.&amp;nbsp; $apiendpoint is not defined correctly since you've commented it out and is not before you capture your base_url.&amp;nbsp; Commenting out scope doesn't work the way you've done here.&amp;nbsp; I've cleaned up my script example further so you can omit scope if you don't need it and change the get-vm call to base on a vmnamefilter variable.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you do not need to import the PowerNSX module unless you are making additional calls to an NSX-V instance in the same script.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;#Requires -Module vmware.powercli
$Credential = Get-Credential
$skipcertcheck = $true
$AuthMethod = “Basic”
$NSXMgr=”0.0.0.0”
$apiendpoint = "/api/v1/fabric"
$base_url = ("https://" + $NSXMgr + $apiendpoint)
$tag = "Naka"
$scope = "NakaScope"  # If scope not required, simply define as $null or ""
$vmnamefilter = "nakabuntu" # Not required.  Will loop through all VM's otherwise.

$vms = Get-VM $vmnamefilter | Get-View -Property "Config"
# Add Tags to existing tags (Valid for NSX-T 3.1.2, previous versions only have update_tag)
$endpoint = "/virtual-machines"
$action = "add_tags"
Foreach ($vm in $vms)
{
    $vmid = $vm.Config.InstanceUuid
    If ([string]::IsNullOrWhiteSpace($Scope)){
    $JSON = "
    {
        `"external_id`":`"$vmid`",
        `"tags`": [
            {
                `"tag`":`"$Tag`"
            }
            ]
    }
    "
    }
    Else{
        $JSON = "
        {
            `"external_id`":`"$vmid`",
            `"tags`": [
                {
                    `"scope`":`"$scope`",
                    `"tag`":`"$Tag`"
                }
                ]
        }
        "
    }
    $Data = Invoke-restmethod -Uri ($base_url + $EndPoint + "?action=" + $action) -Method POST -Body $JSON -ContentType 'application/json' -Credential $Credential -SkipCertificateCheck:$skipcertcheck -Authentication:$AuthMethod
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 14:17:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2863049#M102859</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-08-20T14:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Applying NSXT Tag to a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2863031#M102853</link>
      <description>&lt;P&gt;Did you change the get-vm filter?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 12:32:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2863031#M102853</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-08-20T12:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Applying NSXT Tag to a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2862286#M102797</link>
      <description>&lt;P&gt;Basically means malformed json.&amp;nbsp; Here is script cleaned up a bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;#Requires -Module vmware.powercli
$Credential = Get-Credential
$skipcertcheck = $true
$AuthMethod = “Basic”
$NSXMgr=”0.0.0.0”
$apiendpoint = "/api/v1/fabric"
$base_url = ("https://" + $NSXMgr + $apiendpoint)
$tag = "Naka"
$scope = "NakaScope"

$vms = Get-VM -Name nakabuntu | Get-View -Property "Config"
# Add Tags to existing tags (Valid for NSX-T 3.1.2, previous versions only have update_tag)
$endpoint = "/virtual-machines"
$action = "add_tags"
Foreach ($vm in $vms)
{
    $vmid = $vm.Config.InstanceUuid
    $JSON = "
    {
        `"external_id`":`"$vmid`",
        `"tags`": [
            {
                `"scope`":`"$scope`",
                `"tag`":`"$Tag`"
            }
            ]
    }
    "

    $Data = Invoke-restmethod -Uri ($base_url + $EndPoint + "?action=" + $action) -Method POST -Body $JSON -ContentType 'application/json' -Credential $Credential -SkipCertificateCheck:$skipcertcheck -Authentication:$AuthMethod
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 17:39:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2862286#M102797</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-08-16T17:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Applying NSXT Tag to a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2861717#M102718</link>
      <description>&lt;P&gt;Scope can be anything really.&amp;nbsp; There are also other methods of tag updates available depending on version you are working against.&amp;nbsp; Which NSX-T version are you using?&amp;nbsp; 3.1.2 gives you more options outside of just update tag to simplify your scripting too.&amp;nbsp; 2.5.x limits to just update.&lt;/P&gt;&lt;P&gt;&lt;A href="https://vdc-download.vmware.com/vmwb-repository/dcr-public/d6de7a5e-636f-4677-8dbd-6f4ba91fa5e0/36b4881c-41cd-4c46-81d1-b2ca3a6c693b/api_includes/system_administration_configuration_fabric_inventory_virtual_machines.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/system_administration_configuration_fabric_inventory_virtual_machines.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 21:21:04 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2861717#M102718</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-08-11T21:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Applying NSXT Tag to a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2861706#M102715</link>
      <description>&lt;P&gt;You need to define $newscope variable is what it looks like.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 20:58:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Applying-NSXT-Tag-to-a-VM/m-p/2861706#M102715</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-08-11T20:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Report For Tagless VMs with NSX-T</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2857122#M102371</link>
      <description>&lt;P&gt;Looking at the API makes me believe that this is not possible as it seems a tag must be associated w/ a Virtual Machine.&amp;nbsp; As a workaround, might I suggest creating a dummy VM and tagging that.&amp;nbsp; It can literally be a VM w/ no disk, no network card assigned.&amp;nbsp; As long as it's in vCenter inventory, you can tag it, assuming you have NSX-T sync'd w/ vCenter Inventory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as learning Powershell, I learned organically w/ superb help from&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/256147"&gt;@LucD&lt;/a&gt;'s many community post examples.&amp;nbsp; As far as material, I've heard great things about Don Jones 30 days of lunches series.&amp;nbsp; &amp;nbsp;&lt;A href="https://www.amazon.com/Learn-PowerShell-Month-Lunches-Windows/dp/1617296961/ref=sr_1_5?dchild=1&amp;amp;keywords=Learn+Windows+PowerShell+in+a+Month+of+Lunches&amp;amp;qid=1626184757&amp;amp;s=books&amp;amp;sr=1-5" target="_blank" rel="noopener"&gt;Learn PowerShell in a Month of Lunches: Covers Windows, Linux, and macOS: Plunk, Travis, Petty, James, Leonhardt, Leon: 9781617296963: Amazon.com: Books&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This forum in general is also a good place to find many examples too.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 14:28:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2857122#M102371</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-07-13T14:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Report For Tagless VMs with NSX-T</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2857007#M102354</link>
      <description>&lt;P&gt;To clarify w/ filter:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$Report.Results | where-object {$_.tags -eq $null} | Select-Object display_name 
# Display_Name is likely what you are looking for, but you can append w/ commas or just leave it at that.&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 12 Jul 2021 20:22:45 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2857007#M102354</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-07-12T20:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Report For Tagless VMs with NSX-T</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2856993#M102348</link>
      <description>&lt;P&gt;Ah, no worries&lt;/P&gt;&lt;P&gt;Do the following:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;#Assuming you are capturing the $data output in my example above into $report instead.

$Report.results | Get-Member

#Above will return to you the 'properties' you have available for selection.

#If you want to look at example of what might fill those properties, you can just grab one like below:

$Report.results[0]

#To get select only the properties you want:

$Report.Results | Select display_name 
#Display_Name is likely what you are looking for, but you can append w/ commas or just leave it at that.&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 12 Jul 2021 20:23:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2856993#M102348</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-07-12T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Report For Tagless VMs with NSX-T</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2856972#M102340</link>
      <description>&lt;P&gt;&lt;SPAN&gt;$report = $report.results | where { $_.tags -eq $null }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#Get-VM is working against vCenter, not NSX-T.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 17:57:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2856972#M102340</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-07-12T17:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Report For Tagless VMs with NSX-T</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2856941#M102331</link>
      <description>&lt;P&gt;Not perfect by any means, but hopefully this gets you going in right direction.&amp;nbsp; Basically, VM's without tags will not have a 'tags' property when querying realized state.&amp;nbsp; This works in Powershell Core (aka &lt;A href="https://github.com/PowerShell/PowerShell/releases/tag/v7.1.3" target="_self"&gt;Powershell 7&lt;/A&gt;). Will not work as written in classic Powershell.&lt;/P&gt;&lt;P&gt;&lt;A href="https://tech.zsoldier.com/2021/07/nsx-t-finding-tagless-nsx-t-vms-with.html" target="_blank"&gt;NSX-T: Finding Tagless NSX-T VMs with Powershell Core (zsoldier.com)&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$Credential&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;Get-Credential&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$skipcertcheck&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;$true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$AuthMethod&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;“Basic”&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$NSXMgr&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;”NSXTManagerIPorDNSName”&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$policyapi&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"/policy/api/v1"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$base_url&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"https://"&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;$NSXMgr&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;$policyapi&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;$endpoint&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"/infra/realized-state/virtual-machines"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$Data&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;Invoke-restmethod&lt;/SPAN&gt; &lt;SPAN&gt;-Uri&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;$base_url&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;$EndPoint&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;-Method&lt;/SPAN&gt;&lt;SPAN&gt; GET &lt;/SPAN&gt;&lt;SPAN&gt;-Credential&lt;/SPAN&gt; &lt;SPAN&gt;$Credential&lt;/SPAN&gt; &lt;SPAN&gt;-SkipCertificateCheck:&lt;/SPAN&gt;&lt;SPAN&gt;$skipcertcheck&lt;/SPAN&gt; &lt;SPAN&gt;-Authentication:&lt;/SPAN&gt;&lt;SPAN&gt;$AuthMethod&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;#VMs without tags&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$data&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;results&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;$_&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;tags&lt;/SPAN&gt; &lt;SPAN&gt;-eq&lt;/SPAN&gt; &lt;SPAN&gt;$null&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;#VMs with tags&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$data&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;results&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;$_&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;tags&lt;/SPAN&gt; &lt;SPAN&gt;-ne&lt;/SPAN&gt; &lt;SPAN&gt;$null&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Jul 2021 15:53:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Report-For-Tagless-VMs-with-NSX-T/m-p/2856941#M102331</guid>
      <dc:creator>Zsoldier</dc:creator>
      <dc:date>2021-07-12T15:53:16Z</dc:date>
    </item>
  </channel>
</rss>

