Skip to content

Commit 5bcd2fb

Browse files
author
Maddie Clayton
authored
Merge pull request Azure#8548 from alexandair/patch-3
Remove unnecessary ";"
2 parents c18b690 + 2a69ebc commit 5bcd2fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Compute/Compute/help/Update-AzImage.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml
33
Module Name: Az.Compute
44
online version: https://docs.microsoft.com/en-us/powershell/module/az.compute/update-azimage
@@ -26,17 +26,17 @@ Currently, only the Tags can be updated.
2626
### Example 1
2727
```
2828
PS C:\> $image = Get-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01'
29-
PS C:\> $image.Tags = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]";
30-
PS C:\> $image.Tags.Add("key1", "val1");
31-
PS C:\> Update-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -Image $image;
29+
PS C:\> $image.Tags = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]"
30+
PS C:\> $image.Tags.Add("key1", "val1")
31+
PS C:\> Update-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -Image $image
3232
```
3333

3434
This command updates the Tag value of the existing image 'Image01' in the resource group 'ResourceGroup01'.
3535

3636
## PARAMETERS
3737

3838
### -AsJob
39-
Run cmdlet in the background
39+
Run cmdlet in the background.
4040

4141
```yaml
4242
Type: System.Management.Automation.SwitchParameter

0 commit comments

Comments
 (0)