Guest User

Untitled

a guest
Mar 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Login-AzureRmAccount
  2. Set-AzureRmContext -SubscriptionId "subscription name"
  3. $publicIpAddress = Get-AzureRmPublicIPAddress -Name "ip address name" -ResourceGroupName "resource group name"
  4. $publicIpAddress.IdleTimeoutInMinutes = 29
  5. Set-AzureRmPublicIpAddress -PublicIpAddress $publicIpAddress
Add Comment
Please, Sign In to add comment