barkz
3 years agoNovice I
hbaird Can you try using either -Id or -Name ```# Get
hbaird Can you try using either -Id or -Name
```# Get snapshot information, create reference pbject, & create new volume from snapshot using -Id parameter
$VolName = "simple_vol.snapx"
$Id = (Get-Pfa2VolumeSnapshot -Array $FlashArray -Name $VolName).Id
$src_id = New-Pfa2ReferenceObject -Id $Id
New-Pfa2Volume -Array $FlashArray -Name simplevol_copy -Source $src_id
# Get snapshot information, create reference pbject, & create new volume from snapshot using -Name parameter
$VolName = "simple_vol.snapx"
$Name = (Get-Pfa2VolumeSnapshot -Array $FlashArray -Name $VolName).Name
$src_name = New-Pfa2ReferenceObject -Name $Name
New-Pfa2Volume -Array $FlashArray -Name simplevol_copy -Source $src_name```