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.
Therefore, you create a blob with the name MyBlob and set your install script to the following:
myApp.exe /S
You then name your VM ...
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 details - Deployment Model: Resource Manager, Location: northeurope, Current Limit: 64, Current Usage: 64, Additional Required: 1, (Minimum) New...
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 C:\> this is an error
this: The term 'this' is not recognized as a name of a cmdlet, function, script file, or executable program.
...
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 have a script that takes longer?
Well, we've added a timeoutInSeconds parameter just for that purpose!
az vm run-command create --...
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 RunCommand
VM Applications
Now, I know what you're saying. "I just want to run this thing on my machine! Which do I choose?" Well, here ...
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 whatever you want. Typically, it's something that runs for a long period of time on the box, such as a service. However, the definition is really up ...