Managing vVol Storage Policies with PowerShell

Install-Module PureStorage.FlashArray.VMware

Update-Module PureStorage.FlashArray.VMware

$policyConfig.replicationInterval = New-TimeSpan -Minutes 5

$policyConfig.replicationRetentionShort = New-TimeSpan -hours 12

Set-PfaVvolVmStoragePolicy -VM $VMs -Policy $newPolicy

Set-PfaVvolVmStoragePolicy -VM $VMs -Policy $Policy -AutoReplicationGroup

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.