Skip to content

Commit 55f2911

Browse files
Merge pull request #310325 from denisacatalinastan/patch-33
Update PowerShell command for volume creation
2 parents 23fbb86 + 2ab57d0 commit 55f2911

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

articles/storage/elastic-san/elastic-san-snapshots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ You can use snapshots of elastic SAN volumes to create new volumes using the Azu
8585

8686
```azurepowershell
8787
# create a volume with a snapshot id
88-
New-AzElasticSanVolume -ElasticSanName $esname -ResourceGroupName $rgname -VolumeGroupName $vgname -Name $volname2 -CreationDataSourceId $snapshot.Id -SizeGiB 1
88+
New-AzElasticSanVolume -ElasticSanName $esname -ResourceGroupName $rgname -VolumeGroupName $vgname -Name $volname2 -CreationDataSourceId $snapshot.Id -CreationDataCreateSource VolumeSnapshot -SizeGiB 1
8989
```
9090

9191
# [Azure CLI](#tab/azure-cli)

0 commit comments

Comments
 (0)