diff --git a/src/Compute/Compute/help/Update-AzImage.md b/src/Compute/Compute/help/Update-AzImage.md index fd9c2bf6ba59..97aaac89e1a6 100644 --- a/src/Compute/Compute/help/Update-AzImage.md +++ b/src/Compute/Compute/help/Update-AzImage.md @@ -1,4 +1,4 @@ ---- +--- external help file: Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml Module Name: Az.Compute online version: https://docs.microsoft.com/en-us/powershell/module/az.compute/update-azimage @@ -26,9 +26,9 @@ Currently, only the Tags can be updated. ### Example 1 ``` PS C:\> $image = Get-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -PS C:\> $image.Tags = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]"; -PS C:\> $image.Tags.Add("key1", "val1"); -PS C:\> Update-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -Image $image; +PS C:\> $image.Tags = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]" +PS C:\> $image.Tags.Add("key1", "val1") +PS C:\> Update-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -Image $image ``` This command updates the Tag value of the existing image 'Image01' in the resource group 'ResourceGroup01'. @@ -36,7 +36,7 @@ This command updates the Tag value of the existing image 'Image01' in the resour ## PARAMETERS ### -AsJob -Run cmdlet in the background +Run cmdlet in the background. ```yaml Type: System.Management.Automation.SwitchParameter