Showing results for Tag: Azure from Azure VM Runtime Team

Jun 16, 2023
0
1

How to determine if your Runcommand script failed

Joseph Calev
Joseph Calev

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: This shouldn't be rocket science here. It's very clear that "this is an error" is, in fact, an error. So, with this universal fact determined, let's...

RunCommand
Mar 10, 2023
0
2

Long running RunCommands

Joseph Calev
Joseph Calev

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! The only slight problem is this ...

RunCommandAzure VM Runtime Team
Feb 10, 2023
1
2

Managing VM Applications with Azure Policies

Joseph Calev
Joseph Calev

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 to ...

VM ApplicationsAzure VM Runtime Team