• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

ControlUp Script: Measuring VM Start Time with Azure AVD

Posted on May 15, 2023

This script is designed to measure the time it takes for a VM to start and accept the first user connection when the containing host pool is set to "Start VM on connect". It can be used with an Azure resource ID and tenant ID, and requires credentials to be configured beforehand. The script works with Azure AVD and is hypervisor independent, but it is unknown if it works with an on-prem hypervisor like VMWare or with Azure HCI.


Read the entire ‘Measuring VM Start Time with Azure AVD’ thread below:

This script is for AVD session hosts where the containing host pool is set to "Start VM on connect" (so VMs can be powered on only when users are actually going to use them) and calculates the time, via various log sources, it takes the VM to start and accept the first user connection.

As with all ControlUp scripts, it can be run outside of ControlUp by specifying the required parameters which in this case are the resource id of the VM (copy it from the JSON view for the VM in the Azure portal) and the tenant id. Credentials must already have been configured as per https://support.controlup.com/docs/az-store-azure-credentials


would this also work with an on-prem hypervisor like VMWare


What technology are you delivering the desktops through – Horizon? The script is hypervisor independent but reliant on AVD – I’ve no idea if it works with Azure HCI

Continue reading and comment on the thread ‘ControlUp Script: Measuring VM Start Time with Azure AVD’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Credentials, Logs, Microsoft, Microsoft Azure, Microsoft Azure Virtual Desktop (AVD), On-Premise, Scripts, VMware

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..