Azure Template Deployment with PowerShell :: MTUG Norway

On August 26th, 2015, I delivered a presentation on deploying Azure Resource Manager (ARM) JSON templates using the ARM PowerShell module for the Microsoft Technology User Group (MTUG) in Norway. This event was coordinated by Microsoft MVP Jan Egil Ring. You can view the 1.5 hour recording of the presentation below. MTUG Script Club – … Read moreAzure Template Deployment with PowerShell :: MTUG Norway

Azure RM: Resource Manager or Service Management?

Introduction If you’ve been working with the Microsoft Azure public cloud platform lately, you might be familiar with the terms “Service Management” and “Resource Manager” (Azure RM). These terms refer to two different REST APIs that enable access to Microsoft Azure cloud services. Cloud Services is an ambiguous term, because there is an Azure platform … Read moreAzure RM: Resource Manager or Service Management?

Azure VM Error: “Virtual network ID cannot be null or empty.”

When you’re creating a new Microsoft Azure VM (virtual machine), using the Azure PowerShell module, you might receive an error message similar to the following: New-AzureVM : BadRequest: The virtual network ID cannot be null or empty. If you receive this error message, it’s possible that your Cloud Service that has other virtual machines, that … Read moreAzure VM Error: “Virtual network ID cannot be null or empty.”

Azure PowerShell 0.9.0 Released with Azure Resource Manager!

During the Microsoft //BUILD 2015 conference in San Francisco, California, they have released the newest version of the Microsoft Azure PowerShell module! The version is 0.9.0, and is dated April 2015. You can download the stand-alone Windows Installer (MSI) package from the GitHub releases page. Azure Resource Manager (ARM) The most significant enhancement in the … Read moreAzure PowerShell 0.9.0 Released with Azure Resource Manager!

PowerShell: Resizing Azure Virtual Machines

Background Did you know that you can scale virtual machines in Microsoft Azure? If you’ve been working with the cloud, you’ve most likely heard about that capability before, but did you know that you can automate this function using PowerShell? It’s true! You can streamline many different operations in Microsoft Azure, using the Azure PowerShell … Read morePowerShell: Resizing Azure Virtual Machines

PowerShell: Retrieve Azure Storage Blob Containers Asynchronously

Background When you’re working with the Microsoft Azure platform, as a developer or an IT pro, you will almost certainly leverage the Microsoft Azure Storage service. The top-level object in the Azure Storage service is called a “Storage Account.” Each Storage Account can contain the following types of storage objects: Azure Files (SMB) shares (PaaS … Read morePowerShell: Retrieve Azure Storage Blob Containers Asynchronously

Simple Azure VM RDP PowerShell Script

Background If you’re using the Microsoft Azure platform, you probably have built up one or more virtual machines. Virtual machines in Azure are great for testing, because you can easily destroy and rebuild them if you mess something up. As an additional benefit, you don’t have to risk messing up your local desktop, laptop, or … Read moreSimple Azure VM RDP PowerShell Script

PowerShell: Validating Azure Traffic Manager Endpoints

As some of you may already be aware, the Microsoft Azure cloud platform provides a service called Traffic Manager. Traffic Manager is a DNS-based load balancing service, and helps to ensure application high availability, by offering three profiles types (also known as “load balancing methods”): Performance – points DNS clients to the lowest-latency cloud resource … Read morePowerShell: Validating Azure Traffic Manager Endpoints

PowerShell: Add Unique IDs to Your Objects

If you’re developing interactive PowerShell scripts, that frequently prompt for user input, it is often desirable to uniquely identify objects. Enabling the end user to select the object that they wish to operate on, in a simple fashion, reduces the amount of end user effort required to operate the script. For example, if you are … Read morePowerShell: Add Unique IDs to Your Objects

Azure PowerShell :: Error Creating New Virtual Machine

Today, I was trying to create a new Standard_DS1 size virtual machine from the Azure PowerShell module, version 0.8.13. The typical process for building a virtual machine in Azure, using PowerShell, looks like the following: Create a new Azure virtual machine configuration using New-AzureVMConfig Add provisioning details (username, password for the VM) using Add-AzureProvisioningConfig (optional) … Read moreAzure PowerShell :: Error Creating New Virtual Machine