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

Secunia Webinar Follow-up

Thanks to everyone who attended my recent webcast with Secunia’s “We Speak Geek” series! The topic of discussion was deploying a lab for System Center Configuration Manager in Microsoft Azure, and automating the majority of the process in PowerShell. Want to deploy a #ConfigMgr lab in #Microsoft #Azure using #PowerShell? @Secunia webcast starts in 1 … Read moreSecunia Webinar Follow-up

Clean up unused Azure VHD Disks

Introduction The Microsoft Azure platform maintains a list of VHD blobs that have been registered as “disks” in your Azure subscription. You can view a list of registered “disks” by opening the Azure Portal, going to the Virtual Machines node, and selecting the Disks link. Each Azure disk has a property called AttachedTo that indicates … Read moreClean up unused Azure VHD Disks

PowerShell: Build Windows 10 Server Technical Preview VM in Azure

You’ve probably heard about Windows 10 and the Windows Server Technical Preview, right? You can download the Windows 10 Client operating system from https://insider.windows.com, and you can download the Windows Server Technical Preview from your MSDN account, if you have one. A lot of people have stated that the download of the ISO images is taking hours on their slower Internet connections, so what if I told you that you could get up and running with Windows 10 Server Technical Preview, in just a matter of minutes? Does that sound like a good thing to you?

Read morePowerShell: Build Windows 10 Server Technical Preview VM in Azure

Dog Food Conference 2014 Session Materials (DSC, Azure, PowerShell)

Trevor Sullivan presenting at Dog Food Conference 2014 in Columbus, Ohio on September 30th, 2014. Photo taken by Keith Mayer (Microsoft).
Trevor Sullivan presenting at Dog Food Conference 2014 in Columbus, Ohio on September 30th, 2014. Photo taken by Keith Mayer (Microsoft).

Some of you may have heard my present at Dog Food Conference in September 2014. I’d like to first say thank you to the organizers of Dog Food Conference, for having me out to speak. I’d especially like to thank Ryan Dennis from Blue Chip Consulting LLC, who contacted me on Twitter and invited me to submit sessions for the conference. You can follow Ryan on Twitter at @SharePointRyan, or visit his website at SharePointRyan.com.

At Dog Food Conference, I presented two different sessions.

Read moreDog Food Conference 2014 Session Materials (DSC, Azure, PowerShell)

Failure connecting to Azure point-to-site VPN

I’m trying to set up an Azure point-to-site VPN connection, and I’m receiving the following error: “The remote access connection completed, but authentication failed because the certificate that authenticates the client to the server is not valid. Ensure that the certificate used for authentication is valid. (Error 853).” I ran through the MSDN documentation that … Read moreFailure connecting to Azure point-to-site VPN

Microsoft Azure Visio Stencils

Are you looking for Microsoft Office Visio stencils, or PNG icon sets, for Microsoft Azure? Perhaps you’re building an architectural diagram or writing technical documentation. Either way, Microsoft has recently made available an updated set of Visio stencils, PNG icons, and a Microsoft PowerPoint slide deck to preview them all! Head over to the Microsoft … Read moreMicrosoft Azure Visio Stencils