Skip to content

Commit e11a067

Browse files
authored
Merge pull request #6882 from Azure/AlekseiPolkovnikov-patch-2
Minor fix
2 parents bc8dace + f5e4a73 commit e11a067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ResourceManager/Network/Commands.Network/help/Set-AzureRmPublicIpAddress.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ The **Set-AzureRmPublicIpAddress** cmdlet sets the goal state for a public IP ad
2727
```
2828
PS C:\> $publicIp = Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName
2929
30-
PS C:\> $publicIp.PublicIpAllocationMethod = "Dynamic"
30+
PS C:\> $publicIp.PublicIpAllocationMethod = "Static"
3131
3232
PS C:\> Set-AzureRmPublicIpAddress -PublicIpAddress $publicIp
3333
34-
PS C:\> $publicIp = Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName
34+
PS C:\> Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName
3535
```
3636

3737
First command gets the public IP address resource with name $publicIPName in the resource

0 commit comments

Comments
 (0)