Skip to content

Commit d7bef6c

Browse files
Merge pull request #234163 from divargas-msft/patch-1
[Doc-a-thon] Updating how-to-enable-write-accelerator.md
2 parents 7459ada + b7fa37d commit d7bef6c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/virtual-machines/how-to-enable-write-accelerator.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: markkie
66
ms.service: virtual-machines
77
ms.topic: how-to
88
ms.workload: infrastructure
9-
ms.date: 12/10/2021
9+
ms.date: 04/11/2023
1010
ms.author: raiye
1111
ms.subservice: disks
1212
ms.custom: devx-track-azurepowershell, devx-track-azurecli
@@ -98,7 +98,7 @@ Specify either $true or $false to control support of Azure Write Accelerator wit
9898

9999
Examples of commands could look like:
100100

101-
```powershell
101+
```azurepowershell-interactive
102102
New-AzVMConfig | Set-AzVMOsDisk | Add-AzVMDataDisk -Name "datadisk1" | Add-AzVMDataDisk -Name "logdisk1" -WriteAccelerator | New-AzVM
103103
104104
Get-AzVM | Update-AzVM -OsDiskWriteAccelerator $true
@@ -116,7 +116,7 @@ You can use this script to add a new disk to your VM. The disk created with this
116116

117117
Replace `myVM`, `myWAVMs`, `log001`, size of the disk, and LunID of the disk with values appropriate for your specific deployment.
118118

119-
```powershell
119+
```azurepowershell-interactive
120120
# Specify your VM Name
121121
$vmName="myVM"
122122
#Specify your Resource Group
@@ -139,7 +139,7 @@ Update-AzVM -ResourceGroupName $rgname -VM $vm
139139

140140
You can use this script to enable Write Accelerator on an existing disk. Replace `myVM`, `myWAVMs`, and `test-log001` with values appropriate for your specific deployment. The script adds Write Accelerator to an existing disk where the value for **$newstatus** is set to '$true'. Using the value '$false' will disable Write Accelerator on a given disk.
141141

142-
```powershell
142+
```azurepowershell-interactive
143143
#Specify your VM Name
144144
$vmName="myVM"
145145
#Specify your Resource Group
@@ -197,7 +197,7 @@ Replace the terms within '<< >>' with your data, including the file name the J
197197

198198
The output could look like:
199199

200-
```JSON
200+
```output
201201
{
202202
"properties": {
203203
"vmId": "2444c93e-f8bb-4a20-af2d-1658d9dbbbcb",
@@ -298,7 +298,7 @@ Then update the existing deployment with this command: `armclient PUT /subscript
298298

299299
The output should look like the one below. You can see that Write Accelerator enabled for one disk.
300300

301-
```JSON
301+
```output
302302
{
303303
"properties": {
304304
"vmId": "2444c93e-f8bb-4a20-af2d-1658d9dbbbcb",

0 commit comments

Comments
 (0)