Sep 17 2024 10:58 AM
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 Instances...
Thank you!
Sep 17 2024 09:06 PM
Sep 18 2024 06:30 AM
Sep 24 2024 02:28 PM
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.
Sep 25 2024 06:55 AM - edited Sep 25 2024 06:57 AM
@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!
Sep 25 2024 07:03 AM
SolutionSep 25 2024 07:44 AM
Sep 25 2024 07:03 AM
Solution
Yes, you're correct! The scaling mode is represented by the "OrchestrationMode" property.