Share This Post

Azure / PowerShell

PowerShell Script to Create a Virtual Machine Scale Set

PowerShell Script to Create a Virtual Machine Scale Set
Subscribe
Voiced by Amazon Polly

Use the following Azure PowerShell script to create a Virtual Machine Scale Set and includes the resource group, virtual network, and load balancer.

New-AzVmss `
-ResourceGroupName “myResourceGroupScaleSet” `
-Location “EastUS” `
-VMScaleSetName “myScaleSet” `
-VirtualNetworkName “myVnet” `
-SubnetName “mySubnet” `
-PublicIpAddressName “myPublicIPAddress” `
-LoadBalancerName “myLoadBalancer” `
-UpgradePolicyMode “Automatic”

Share This Post

Leave a Reply