Skip to content

Instantly share code, notes, and snippets.

@artisticcheese
Created April 20, 2018 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artisticcheese/d09f46fa84cdc041a18862e134ca08d9 to your computer and use it in GitHub Desktop.
Save artisticcheese/d09f46fa84cdc041a18862e134ca08d9 to your computer and use it in GitHub Desktop.
PS C:\gd\Documents\dockerswarmarm> $vmss = (Get-AzureRmVmss -ResourceGroupName Swarm-RG -Name swarmhost)
PS C:\gd\Documents\dockerswarmarm> $vmss.Sku.Capacity = 5
PS C:\gd\Documents\dockerswarmarm> Update-AzureRmVmss -ResourceGroupName Swarm-RG -Name swarmhost -VirtualMachineScaleSet $vmss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment