File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ResourceManager/Network/Commands.Network/help Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ The **Set-AzureRmPublicIpAddress** cmdlet sets the goal state for a public IP ad
27
27
```
28
28
PS C:\> $publicIp = Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName
29
29
30
- PS C:\> $publicIp.PublicIpAllocationMethod = "Dynamic "
30
+ PS C:\> $publicIp.PublicIpAllocationMethod = "Static "
31
31
32
32
PS C:\> Set-AzureRmPublicIpAddress -PublicIpAddress $publicIp
33
33
34
- PS C:\> $publicIp = Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName
34
+ PS C:\> Get-AzureRmPublicIpAddress -Name $publicIpName -ResourceGroupName $rgName
35
35
```
36
36
37
37
First command gets the public IP address resource with name $publicIPName in the resource
You can’t perform that action at this time.
0 commit comments