Volumes not snapmirrored

I want to check which volumes per controller are not snapmirrored. I think there should be an elegant way to achiveve this with powershell and the command get-navol and get-nasnapmirror. However, didn't manage it yet. Maybe someone of you can help me with this task or created a similar script already. Thanks in advance.



Re: Volumes not snapmirrored

It's easy to get which volumes are snapmirrored:

Get-NaVol | Get-NaSnapmirror

There are various ways of figuring which ones aren't snapmirrored.  Here's one:

Get-NaVol | % { if ( (Get-NaSnapmirror $_) -eq $null ) { Write-Output $_; }}