Skip to content

Commit fc8b163

Browse files
superfliegeroygara
andauthored
Update articles/virtual-machines/disks-enable-performance.md
Co-authored-by: rogara <[email protected]>
1 parent 79c4bd9 commit fc8b163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-machines/disks-enable-performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ $diskConfig = New-AzDiskConfig -Location $region -CreateOption Empty -DiskSizeGB
8585
8686
$dataDisk = New-AzDisk -ResourceGroupName $myRG -DiskName $myDisk -Disk $diskConfig
8787
88-
Add-AzVMDataDisk -VMName $myVM -ResourceGroupName $myRG -DiskName $myDisk -Lun $lun -CreateOption Attach -ManagedDiskId $dataDisk.Id
88+
Add-AzVMDataDisk -VMName $myVM -ResourceGroupName $myRG -DiskName $myDisk -Lun $lun -CreateOption Empty -ManagedDiskId $dataDisk.Id
8989
```
9090

9191
To migrate data from an existing disk or snapshot to a new disk with performance plus enabled, use the following script:

0 commit comments

Comments
 (0)