<?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 volume &amp;quot;Tags&amp;quot; property always empty with Powershell cmdlet &amp;quot;get-ncvol&amp;quot; in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/volume-quot-Tags-quot-property-always-empty-with-Powershell-cmdlet-quot-get/m-p/457025#M3293</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get my volume tags set via System Manager with the simple powershell cmdlet "get-ncVol", but "Tags" property is always empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also try the cmdlet with "-zapiCall" parameter, but having the same empty result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;powershell SDK 9.15.1.2407&lt;/P&gt;&lt;P&gt;powershell 5.1&lt;/P&gt;&lt;P&gt;Windows 2019&lt;/P&gt;&lt;P&gt;Ontap&amp;nbsp;9.14.1P8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yala&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 14:22:13 GMT</pubDate>
    <dc:creator>yala37</dc:creator>
    <dc:date>2024-12-03T14:22:13Z</dc:date>
    <item>
      <title>volume "Tags" property always empty with Powershell cmdlet "get-ncvol"</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/volume-quot-Tags-quot-property-always-empty-with-Powershell-cmdlet-quot-get/m-p/457025#M3293</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get my volume tags set via System Manager with the simple powershell cmdlet "get-ncVol", but "Tags" property is always empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also try the cmdlet with "-zapiCall" parameter, but having the same empty result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;powershell SDK 9.15.1.2407&lt;/P&gt;&lt;P&gt;powershell 5.1&lt;/P&gt;&lt;P&gt;Windows 2019&lt;/P&gt;&lt;P&gt;Ontap&amp;nbsp;9.14.1P8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yala&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:22:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/volume-quot-Tags-quot-property-always-empty-with-Powershell-cmdlet-quot-get/m-p/457025#M3293</guid>
      <dc:creator>yala37</dc:creator>
      <dc:date>2024-12-03T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: volume "Tags" property always empty with Powershell cmdlet "get-ncvol"</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/volume-quot-Tags-quot-property-always-empty-with-Powershell-cmdlet-quot-get/m-p/466183#M3310</link>
      <description>&lt;P&gt;Im getting the same issue as this with version 9.18.1.2601 of the PS module, I ended up having to use a api call to grab the tags.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;function  Get-ONTAPVolTags {
    param (
        [Parameter(Mandatory,
            ValueFromPipeline)] 
        [string]$clusterName,
        [Parameter(Mandatory)] 
        [string]$volUUID,
        [Parameter()]
        [ValidateNotNull()]
        [System.Management.Automation.PSCredential]
        [System.Management.Automation.Credential()]
		$creds = [System.Management.Automation.PSCredential]::Empty
    )
    process {

    $apiquery = "https://$clusterName/api/storage/volumes/$($volUUID)?fields=uuid%2Cname%2C_tags&amp;amp;return_timeout=120"

    # Send the API request to get volume information
    $result = Invoke-RestMethod -Method GET -Uri $apiquery -Credential $creds
    # Return
    $result._tags -replace(':','=') |ConvertFrom-StringData 
        
    }#END PROCESS
}#END FUNCTION

###############&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Mar 2026 15:27:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/volume-quot-Tags-quot-property-always-empty-with-Powershell-cmdlet-quot-get/m-p/466183#M3310</guid>
      <dc:creator>mattglg</dc:creator>
      <dc:date>2026-03-06T15:27:23Z</dc:date>
    </item>
  </channel>
</rss>

