Host Volumes
in the following example, the TEST-VOL1.EXAMPLE snapshot is created and is then copied to a new host volume NEW-TEST-VOL1.
PS >New-PfaVolumeSnapshots -Array $FlashArray -Sources 'TEST-VOL1','TEST-VOL2' -Suffix 'EXAMPLE'
PS >New-PfaVolume -Array $FlashArray -Source 'TEST-VOL1.EXAMPLE' -VolumeName 'NEW-TEST-VOL1'
To overwrite an existing volume with a snapshot, use the
-Overwrite parameter as shown below:
PS >New-PfaVolume -Array $FlashArray -Source 'TEST-VOL2.EXAMPLE' -VolumeName 'TEST-VOL2' –Overwrite