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...