<?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: Volume encryption details in PowerShell Toolkit in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/154005#M6140</link>
    <description>&lt;P&gt;I found a solution:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Get-NcVol | Select-Object -Property vserver,name,aggregate,state,@{Label = "Node"; expression = {$_.VolumeIdAttributes.Node}},encrypt,@{Label = "encryption-state"; expression = {(Get-NcVolumeEncryptionConversion -Vserver $_.vserver -Volume $_.name).status}}&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 05:47:33 GMT</pubDate>
    <dc:creator>ibkl4</dc:creator>
    <dc:date>2020-02-03T05:47:33Z</dc:date>
    <item>
      <title>Volume encryption details in PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/153918#M6131</link>
      <description>&lt;P&gt;Hi everybody&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I try to create a script that shows all volumes and the encryption details. Currently I'm using the following command:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;get-NcVol | select vserver, name, aggregate, encrypt&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I couldn't&amp;nbsp;figure out how to display the "encryption-state" (something like:&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;vol show -volume * -fields encrypt, &lt;FONT color="#FF0000"&gt;encryption-state&lt;/FONT&gt;&lt;/FONT&gt;). Does anybody have an idea how to get this data?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm using Ontap 9.5 and PowerShell Toolkit 9.6.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:20:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/153918#M6131</guid>
      <dc:creator>ibkl4</dc:creator>
      <dc:date>2025-06-04T11:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Volume encryption details in PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/153945#M6132</link>
      <description>&lt;P&gt;The "Status" property from the "Get-NcVolumeEncryption" cmdlet looks like what you are looking for; unfortunately, I'm not able to confirm that 100% because the couple machines running the PSTK 9.6 that I've tried to run the command on complain that they aren't able to find the necessary API to run the command, but hopefully you'll have better luck than I did. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 15:31:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/153945#M6132</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2020-01-30T15:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Volume encryption details in PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/153950#M6133</link>
      <description>&lt;P&gt;Looks like the "volume-encryption-get-iter" API was removed in newer versions of the ONTAPI for some reason, which I believe is the reason that error is generated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is ONTAPI v1.130 (an older version):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.13.png" style="width: 409px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9522i6206E89FBD22F478/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.13.png" alt="1.13.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And here is ONTAPI v.1.160 (a newer version - notice how the API doesn't exist. I checked the cluster-level API too, not there either):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.16.png" style="width: 401px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9523i41C9DDCF1E079466/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.16.png" alt="1.16.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't been able to find an alternative way to get the data other than using the "Invoke-NcSsh" command to run the ONTAP CLI commands manually. Hopefully it can be fixed in future versions.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 15:44:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/153950#M6133</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2020-01-30T15:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Volume encryption details in PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/154005#M6140</link>
      <description>&lt;P&gt;I found a solution:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Get-NcVol | Select-Object -Property vserver,name,aggregate,state,@{Label = "Node"; expression = {$_.VolumeIdAttributes.Node}},encrypt,@{Label = "encryption-state"; expression = {(Get-NcVolumeEncryptionConversion -Vserver $_.vserver -Volume $_.name).status}}&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 05:47:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Volume-encryption-details-in-PowerShell-Toolkit/m-p/154005#M6140</guid>
      <dc:creator>ibkl4</dc:creator>
      <dc:date>2020-02-03T05:47:33Z</dc:date>
    </item>
  </channel>
</rss>

