Skip to content

Commit 2ab57d0

Browse files
Update PowerShell command for volume creation
1 parent 23fbb86 commit 2ab57d0

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)