Microsoft Azure Effective ways to delete resources in a resource group on Azure in 2021 In Azure, resource groups are very helpful to logically hold together a set of resources. For many reasons, at some point, you'll want to get rid of these resources but
Microsoft Azure Azure automation runbook invocation error when declaring array, Unable to cast object of type... to System.Object[] Today I was implementing a snapshot/restore mechanism for virtual machines with the help of Azure Automation. After importing my script in Azure Automation, I encountered an error while invoking
PowerShell Breaking change with Get-AzureRmStorageAccountKey in AzureRM.Storage v1.1.0 - AzureRM v1.4.0 A nasty breaking change has slipped into version 1.1.0 of AzureRM.Storage which coincide with the release v1.4.0 of AzureRM module. If you use the return
Microsoft Azure HowTo: Purge an Azure CDN endpoint using Azure PowerShell v1.x Not long ago, one of my colleagues asked me how he could automate the purge of an Azure CDN endpoint. I browsed around a bit with him and the only
PowerShell HowTo: Perform POST call to Azure REST API using Invoke-AzureRmResourceAction PowerShell command Not long ago, one of my colleagues asked me how we could automate an action that was not quite available in the Azure PowerShell cmdlets. Sure we can use Azure
Microsoft Azure Effective ways to delete resources in a resource group on Azure Under Azure Resource Manager, resource groups are very helpful to logically hold together a set of resources. For many reasons, at some point, you'll want to get rid of these
PowerShell How to get the status of a Virtual Machine under the v2 compute model in Azure PowerShell v1.0.x Getting the status of a virtual machine is really handy because once you have that information you can then take decisions and perform several actions on your virtual machines like
Microsoft Azure Use uniqueString() function to generate unique names for resources in ARM template When playing with ARM templates in a team, you need a way to come up with unique names for your DNS dependent resources on Azure like storage accounts and public
PowerShell ArtifactNotFound: References to Microsoft.Powershell DSC extension prior to v2.4 are broken and how to fix it If you are experiencing this error: "Extension with publisher 'Microsoft.Powershell', type 'DSC', and type handler version 'x.x' could not be found in the extension repository" it is because
PowerShell PowerShell 1.0.0-Preview is here... Switch-AzureMode is dead, at last! Azure PowerShell 1.0.0-preview is now available. It is in this version that the trigger is being pulled on Switch-AzureMode. Pow! Terminated! Gone!! Starting in version 1.0.0
DevOps How to create and deploy a development machine on Azure using Azure Resource Manager template in Visual Studio Azure Resource manager have been around for a while now and it made provisioning quite easy and convenient. A couple of persons have asked me how to create and manage
PowerShell Set-AzureVMCustomScriptExtension: Multiple extensions per handler not supported The introduction of agents and extensions bring a lot of possibilities to virtual machines in Azure. The CustomScript extension let you run one or a set of scripts on a
PowerShell How to get the status of an #Azure Virtual Machine under the v2 compute model in #PowerShell v0.9.x Since version 0.8.0, the Azure PowerShell can target multiple APIs, included in 2 PowerShell modules. Even if the name of some cmdlets are the same, they greatly differ
PowerShell "The remote server returned an error: (400) Bad Request. " when specifying ACL on an #Azure premium storage container updated: May 10th 2015 - Added SAS workaround I played quite a bit with Azure Premium storage accounts recently and I have to say that I welcome with arms wide open this new performance level. Especially for dev/test environments in Azure. Even if