Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Get Azure Virtual Machine Diagnostics by using PowerShell

Summary: Use the Azure Resource Manager cmdlets to retrieve diagnostic data within Azure Resource Manager virtual machines. (image)  Our QA department was asking a very specific question that I didn’t know how to answer. Is there anything in an Azure virtual machine (VM) to show the quality of the boot and its startup? (image)  Maybe this...

Retrieve Azure Resource Manager virtual machine properties by using PowerShell – Part 2

Summary: Use the Azure Resource Manager cmdlets to get the machine size from a virtual machine. This blog post is part of a series about how to retrieve Azure Resource Manager virtual machine properties by using PowerShell. To get the most out of this series, read the posts in order. If you’re new to PowerShell, you might want to first ...

PowerTip: Show Azure Resource Manager virtual machine status with PowerShell

Summary: Using the Azure Resource Manager cmdlets to see the running state of a virtual machine. (image)  I remember using the old cmdlets for Azure, and they would show the status of my virtual machines.  How can I do that with the new cmdlets? (image)  Use the Get-AzureRM cmdlet with the –Status parameter to expand the available ...

Retrieve Azure Resource Manager virtual machine properties by using PowerShell – Part 1

Summary: Use the Azure Resource Manager cmdlets to create a virtual machine. This blog post is part of a series about how to retrieve Azure Resource Manager virtual machine properties by using PowerShell. To get the most out of this series, read the posts in order. If you’re new to PowerShell, you might want to first read the preceding ...

PowerTip: List Azure Resource Manager virtual networks with PowerShell

Summary: Use the AzureRM cmdlets to list all available virtual networks in a subscription. (image)  I’m doing work for a client who forgot to give me a list of the virtual networks in the client's Azure subscription. Could you save me some time and show me how to get that list? (image)  Just use the Get-AzureRMVirtualNetwork cmdlet. This...