<?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: Finding Volumes with Compression Enabled in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94303#M4012</link>
    <description>&lt;P&gt;Can you try this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;function Get-VolCompression ($controllernames,$exportdetails){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array = @()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$controllernamesdetails = Get-Content $controllernames&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;foreach ($control in $controllernamesdetails)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$controllerdetails = Connect-NaController $control -Credential (Get-Credential)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$props = Get-NaVol | Get-NaSis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$object = New-Object psobject -Property @{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'ControllerName' = $props.Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'VolumeName' = $props.Path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'IsCompressionEnabled' = $props.IsCompressionEnabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array+=$object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array | Export-Csv -Path $exportdetails&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;#Example &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;#Get-VolCompression -controllernames "c:\filer.txt" -exportdetails "c:\data"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2014 16:22:45 GMT</pubDate>
    <dc:creator>vinith</dc:creator>
    <dc:date>2014-10-23T16:22:45Z</dc:date>
    <item>
      <title>Finding Volumes with Compression Enabled</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94195#M4009</link>
      <description>&lt;P&gt;I was wondering if anyone could help me make a powershell script that could be run against a filer to identify volumes that have compression enabled. &amp;nbsp;I know how to manually check each volume, but I'm having trouble developing anything that could just tell me if the compression feature is enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using different cmdlets like Get-NaVolOption but I can't seem to get anything that will just list out the volume name, and whether compression is enabled or disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be fine with just a list of compression enabled volumes or with a list of all volumes displaying the compression status (on or off).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with DataONTAP 8.0.2P7 if that is of any relevance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:26:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94195#M4009</guid>
      <dc:creator>JBIDDLE2212</dc:creator>
      <dc:date>2025-06-05T05:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Volumes with Compression Enabled</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94259#M4010</link>
      <description>&lt;P&gt;You can use the &lt;STRONG&gt;Get-NaSis&lt;/STRONG&gt; cmdlet to extract this information. an extract from the cmdlet help is illustrated below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\PS&amp;gt;Get-NaSis xendesktopxp&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Gets the dedupe status for volume 'xendesktopxp'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BlocksSkippedSharing : 0&lt;BR /&gt;ChangelogUsedPercent : 0&lt;BR /&gt;CheckpointOpType : -&lt;BR /&gt;CheckpointProgress : -&lt;BR /&gt;CheckpointStage : -&lt;BR /&gt;CheckpointSubStage : -&lt;BR /&gt;CheckpointTime : 0&lt;BR /&gt;&lt;STRONG&gt;IsCompressionEnabled : False&lt;/STRONG&gt;&lt;BR /&gt;IsInlineCompressionEnabled : False&lt;BR /&gt;LastOperationBeginTimestamp : 1327035978&lt;BR /&gt;LastOperationEndTimestamp : 1327038050&lt;BR /&gt;LastOperationError :&lt;BR /&gt;LastOperationSize : 2364 MB&lt;BR /&gt;LastOperationSizeBytes : 2478915584&lt;BR /&gt;LastOperationState : success&lt;BR /&gt;LastSuccessOperationBeginTimestamp : 1327035978&lt;BR /&gt;LastSuccessOperationEndTimestamp : 1327038050&lt;BR /&gt;LogicalData &amp;amp;colon; DataONTAP.Types.Sis.LogicalData&lt;BR /&gt;MinimumBlocksShared : 1&lt;BR /&gt;Path : /vol/xendesktopxp&lt;BR /&gt;Progress : Idle for 20:11:38&lt;BR /&gt;QueuedJobType : -&lt;BR /&gt;Schedule : sun-sat@0&lt;BR /&gt;StaleFingerprintPercentage : 0&lt;BR /&gt;State : Enabled&lt;BR /&gt;Status : Idle&lt;BR /&gt;Type : Regular&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 04:12:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94259#M4010</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2014-10-23T04:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Volumes with Compression Enabled</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94295#M4011</link>
      <description>&lt;P&gt;Vinith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. &amp;nbsp;I have successfully been able to find out if a parcitular volume has compression enabled, but we have over 400 volumes spread accross 2 controllers. &amp;nbsp;I need to generate a list from each controller either listing just the volumes that have compression enabled, or a list that shows all volumes that indicates whether the compression status is off or on. &amp;nbsp;That's where I'm having the real trouble.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 15:36:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94295#M4011</guid>
      <dc:creator>JBIDDLE2212</dc:creator>
      <dc:date>2014-10-23T15:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Volumes with Compression Enabled</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94303#M4012</link>
      <description>&lt;P&gt;Can you try this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;function Get-VolCompression ($controllernames,$exportdetails){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array = @()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$controllernamesdetails = Get-Content $controllernames&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;foreach ($control in $controllernamesdetails)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$controllerdetails = Connect-NaController $control -Credential (Get-Credential)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$props = Get-NaVol | Get-NaSis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$object = New-Object psobject -Property @{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'ControllerName' = $props.Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'VolumeName' = $props.Path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'IsCompressionEnabled' = $props.IsCompressionEnabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array+=$object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$array | Export-Csv -Path $exportdetails&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;#Example &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;#Get-VolCompression -controllernames "c:\filer.txt" -exportdetails "c:\data"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 16:22:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94303#M4012</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2014-10-23T16:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Volumes with Compression Enabled</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94307#M4013</link>
      <description>&lt;P&gt;I think I was able to get the list I needed by running the following against each controller:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NaSis | select path,iscompressionenabled&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 16:28:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94307#M4013</guid>
      <dc:creator>JBIDDLE2212</dc:creator>
      <dc:date>2014-10-23T16:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Volumes with Compression Enabled</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94313#M4014</link>
      <description>&lt;P&gt;Thats great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Please remember to mark as answer if the solution helped you."&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 16:37:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Finding-Volumes-with-Compression-Enabled/m-p/94313#M4014</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2014-10-23T16:37:49Z</dc:date>
    </item>
  </channel>
</rss>

