Trevor Sullivan's Tech Room - Minding the gap between administration and development

Subscribe to E-mail Updates for GitHub Project Releases

If you’re like me, you probably like to ensure that your software is up-to-date on your system at all times. I’m a heavy user of the Microsoft Azure PowerShell automation module, which is actively developed on a GitHub source code repository. I need to make sure that I am promptly notified about updates to this…

Read More

PowerShell ISE: Jump to Column Feature

If you’re a developer, or even just a frequent user of a text editor, you’re probably familiar with the “Jump to Line” feature of most text editing software. The Microsoft Windows PowerShell Integrated Scripting Editor (ISE) offers such a feature, which is commonly mapped to the CTRL + G keyboard shortcut. One of the features…

Read More

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

When you’re creating a new Microsoft Azure 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 have…

Read More

Import-DscResource Warning Message in WMF 5.0 April 2015 Preview

The latest version of the Microsoft Windows Management Framework (WMF) Core 5.0 package has some improvements to the PowerShell and Desired State Configuration (DSC) experience. One of those improvements is a warning message that will appear, if you do not use the Import-DscResource dynamic keyword to import the PSDesiredStateConfiguration module. The warning message appears when…

Read More

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 More

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 More

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 More

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 More

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 More

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 More