How to migrate Azure PowerShell from AzureRM to the new Az Module

3 days ago, Microsoft released version 1.0.0 of the new Az Module. Az is a cross-platform PowerShell module to manage resources in Azure that is compatible with both WindowsPowerShell and PowerShell Core. Why to migrate to Az? Az is written from ground up in .NET Standard which allows us to use the module in PowerShell… Continue reading How to migrate Azure PowerShell from AzureRM to the new Az Module

Configure Azure App Service IP Restrictions using PowerShell

IP Restrictions is a feature I recently start using a lot. It allows me to define a list of IP addresses that are allowed or denied to access my app service. Both IPv4 and IPv6 adresses can be used. At the moment there is no Azure CLI or PowerShell cmdlet available to set the IP… Continue reading Configure Azure App Service IP Restrictions using PowerShell

Find outdated Azure ARM QuickStart Templates on GitHub

In my previous post Determine latest API version for a resource provider I showed you how to retrieve the latest API version for a specific resource provider using the Get-AzureRmResourceProviderLatestApiVersion cmdlet. In this post I will use the cmdlet to find any outdated resource provider within an ARM template. Also, we will analyze the Azure… Continue reading Find outdated Azure ARM QuickStart Templates on GitHub

Determine latest API version for a resource provider

Azure Resource Manager templates are great to deploy one or more resources to a resource group. A mandatory part of an ARM template is the resources section which defines the resource types that are deployed or updated. Here is an example: The name of a resource type has the following format: {resource-provider}/{resource-type}. In this example… Continue reading Determine latest API version for a resource provider

Serving a HTML Page from Azure PowerShell Function

The new PowerShell language (experimental) support in Azure Function is really handy. Especially if you want to use the Azure PowerShell cmdlets to retrieve any kind of Azure Resources and diplay them in a HTML page. Hosting the cmdlet in Azure Function eliminates the need of a local installed Azure PowerShell module. Here is a simple… Continue reading Serving a HTML Page from Azure PowerShell Function

Configure Azure Cloud Shell to use a profile hosted on GitHub

You may have noticed that you can run the Azure Cloud Shell without the portal as a separate component on https://shell.azure.com/ The shell is really handy since it can be used from everywhere. Today I want to show you how you can load a remote profile that is hosted on GitHub in the Azure Cloud Shell.… Continue reading Configure Azure Cloud Shell to use a profile hosted on GitHub

Rename Azure Storage Blob using PowerShell

At the time of writing this there is no API to rename an Azure Storage blob in one operation. You have to copy the blob and delete the original one after the copy process completes. You can vote for the feature here: Rename blobs without needing to copy them Until then you can use my convenience Rename-AzureStorageBlob… Continue reading Rename Azure Storage Blob using PowerShell