ONTAP Discussions

Powershell - how to get Protection Policy details from the Source Cluster/Volume?




Does anyone know if there's a PowerShell command to obtain the defined Protection Policy (e.g. MirrorAllSnapshots) at the source NetApp cluster end (i.e.. In PS connect to the source cluster, read all the volumes and report on the protection policy configured for each one).

In the GUI, this would be Storage / Volumes /  <click a volume with DP> / Data Protection / <read Destination Cluster, SVM, Volume, Type, Policy>

Then if that is possible, it would also be great if there was a powershell command to report on Protection Policy config (again at the source cluster.


In the GUI, this would be Protection / Protection Policies /  <click a Protection Policy> / <click Edit> / <read Policy Type, SnapMirror Label(s) and Destination Retention count(s)>


Any pointers to a Powershell command that provides me this would be great.


Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner