Skip to content

Commit 7a46853

Browse files
authored
Merge pull request #191385 from kobulloc-MSFT/patch-18
Corrected variable typo
2 parents 88482ed + 83c7f34 commit 7a46853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-machines/vm-applications-how-to.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ $appversion = Get-AzGalleryApplicationVersion `
177177
$packageid = $appversion.Id
178178
$app = New-AzVmGalleryApplication -PackageReferenceId $packageid
179179
Add-AzVmGalleryApplication -VM $vmname -GalleryApplication $app
180-
Update-AzVM -ResourceGroupName $rgname -VM $vmname
180+
Update-AzVM -ResourceGroupName $rgname -VM $vm
181181
```
182182

183183
Verify the application succeeded:

0 commit comments

Comments
 (0)