Showing archive results for 2025

Aug 18, 2025
Post comments count1
Post likes count1

Handling Machine Reboots with VM Applications

Joseph Calev
Joseph Calev

One confusion around all of our extensions is: how are reboots handled? This varies by extension, but only VM Applications provide the option on how to handle them. It does this via the "scriptBehaviorAfterReboot" property.     "resources": [         {             "type": "Microsoft.Compute/galleries/applications/versions",             "apiVe...

VM Applications
Jul 15, 2025
Post comments count0
Post likes count0

Extension concerns when replacing the OS disk

Joseph Calev
Joseph Calev

One confusing area regarding extensions on Azure VMs is - what happens when the OS disk is swapped out? Well, in that case the extensions will run again. Is this the desired behavior? Well, we don't know. There are many types of extensions. Some handle monitoring and security, so those you'll probably want to keep. Some install applications, lik...

RunCommand
Feb 26, 2025
Post comments count0
Post likes count2

Using Powershell7 with Managed Runcommand

Joseph Calev
Joseph Calev

Today, all scripts run through Managed RunCommand will by default use Powershell 5. What if you have a script that requires Powershell7? This is supported via a new feature, but you will need to specify the different script shell. Here's what you need to do. Ensure your VM has Powershell7 Powershell7 is not installed by default. To ensure ...

Azure VM Runtime TeamRunCommand