Managing VM Applications with Azure Policies
For those unacquainted with the feature, VM Applications allow you to manage applications across virtual machines and virtual machine scale sets. What exactly is an “application”? In truth, it’s...
View ArticleRunCommand vs Custom Script Extension vs VM Applications
I’m sure that many of you would swear that Microsoft loves to confuse you. Currently, there are not three but four ways to run code on your machine. Custom Script Extension RunCommand Managed...
View ArticleLong running RunCommands
Recently, there’s been a bit of confusion involving long running RunCommands. For reference, the default wait time for RunCommand has been 90 minutes – the same as all other extensions. But what if you...
View ArticleHow to determine if your Runcommand script failed
Today, we’re going to cover what can be a maddening issue in just determining whether your script failed. Let’s start with a very simple operation. Open a Powershell window and run the following: PS...
View ArticleWorking with unmanaged storage account quotas in VM Applications
While working with VM Applications, it’s possible to receive the following error. Operation could not be completed as it results in exceeding approved UnmanagedStorageAccountCount quota. Additional...
View ArticleWorking with VM Application Names
I admit that VM Application names can be a bit tricky, or at least non-intuitive. The basic issue is this, you have some binary – let’s call it MyApp.exe – and you want to install it on your VM....
View ArticleThe treatFailureAsDeploymentFailure flag
In both VmApplications and RunCommand, we support a property called “treatFailureAsDeploymentFailure”. Note that for Managed RunCommand it may not be visible yet in Powershell or CLI, but it is...
View ArticleWhen will CustomScript extension re-execute my script?
One of the lesser known differences between RunCommand and CustomScriptExtension is the fact that we do promise to not re-run your script in RunCommand, but no such promise exists for CustomScript....
View ArticleUsing Managed RunCommand in an ARM Template
Perhaps one of the largest differences between “Action RunCommand” (internally called RunCommand V1) and “Managed RunCommand” (internally called RunCommand V2) is that Managed RunCommands are ARM...
View Article
More Pages to Explore .....