Skip to content

Commit 6dd6055

Browse files
authored
Update capture-image-resource.yml
1 parent 508c73b commit 6dd6055

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/virtual-machines/capture-image-resource.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
description: Create a legacy managed image of a generalized VM or VHD in Azure.
66
author: ju-shim
77
ms.author: jushiman
8-
ms.date: 03/15/2023
8+
ms.date: 06/25/2024
99
ms.service: virtual-machines
1010
ms.subservice: imaging
1111
ms.topic: how-to
@@ -137,8 +137,8 @@ procedureSection:
137137
- |
138138
Create the image.
139139
140-
```azurepowershell-interactive New-AzImage -Image $image -ImageName
141-
$imageName -ResourceGroupName $rgName
140+
```azurepowershell-interactive
141+
New-AzImage -ImageName $imageName -ResourceGroupName $rgName -Image $imageConfig
142142
```
143143
- title: |
144144
PowerShell: Create a legacy managed image from a managed disk

0 commit comments

Comments
 (0)