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. 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.
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.
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).
I'm working with DataONTAP 8.0.2P7 if that is of any relevance.
Thank you for your response. 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. 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. That's where I'm having the real trouble.