Forum Discussion
Oleg_A
Sep 17, 2024Copper Contributor
Check VMSS Scale Mode via PowerShell
Hello: Can someone please suggest how I can check the scale mode in my VMSS (Virtual machine scale set) via Powershell? Ideally, I want to see if it's manual or auto and number of max Instanc...
- Sep 25, 2024
Kidd_Ip
Sep 18, 2024MVP
- Oleg_ASep 18, 2024Copper ContributorKidd_Ip ,
Thank you! It will get me the VMSS, but I wonder how can I see the scale mode there? How can I check if my particular VMSS set to Auto or Manual?
Thank you!- balasubramanimSep 24, 2024Iron Contributor
Replace "<YourResourceGroupName>" and "<YourVMSSName>" with your actual resource group and VMSS name. This will return the scaling mode(manual or auto) and the maximum number of instances for your VMSS.
- Oleg_ASep 25, 2024Copper Contributor
balasubramanim
Thank you! I just cannot figure out what exact parameter is for Scaling Mode... I can see max number of instances - SKU.Capacity, but not sure where to look for scaling mode...Is it "OrchestrationMode" ?
Thank you!