You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
141
141
142
-
```powershell
142
+
```azurepowershell-interactive
143
143
#Specify your VM Name
144
144
$vmName="myVM"
145
145
#Specify your Resource Group
@@ -197,7 +197,7 @@ Replace the terms within '<< >>' with your data, including the file name the J
197
197
198
198
The output could look like:
199
199
200
-
```JSON
200
+
```output
201
201
{
202
202
"properties": {
203
203
"vmId": "2444c93e-f8bb-4a20-af2d-1658d9dbbbcb",
@@ -298,7 +298,7 @@ Then update the existing deployment with this command: `armclient PUT /subscript
298
298
299
299
The output should look like the one below. You can see that Write Accelerator enabled for one disk.
0 commit comments