Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Identify Regions in Azure

Summary: Use Windows PowerShell to get a current list of regions in Azure.  How can I use Windows PowerShell to show me a list of the regions in Microsoft Azure?  Use the Get-AzureLocation cmdlet to output the list to your screen, then you can filter with            the DisplayName ...

Weekend Scripter: Use PowerShell for JIT Administration and PAM – Part 1

Summary: Guest blogger, Microsoft PFE, Ian Farr, talks about JIT administration with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger Ian Farr. To read more of Ian's previous guest posts, see these Hey, Scripting Guy! Blog posts. This weekend is a two-part blog, with today being Part 1. Here'...

PowerTip: See Data in Azure Storage

Summary: Use Windows PowerShell to show the files in an Azure Storage blob.  How can I use Windows PowerShell to see files that are in my subscription and stored in Azure blobs?  Use a combination of the Get-AzureStorageContainer and Get-AzureStorageBlob cmdlets.            For ...

Use PowerShell to Create Virtual Machine in Azure – Part 5

Summary: Learn how to create a virtual machine in Azure by using your own VHD template. Honorary Scripting Guy, Sean Kearney is here with the last bit of coolness about creating virtual machines in Azure—using a customized template. This post is part of a series. To catch up, read: Use PowerShell to Create Virtual Machine in Azure &...

PowerTip: Identify Extensions in Azure

Summary: Use Windows PowerShell to get a current list of virtual machine extensions in Azure.  How can I find all the extensions that are available for virtual machines in Azure?  To see all the extensions for a virtual machine in Azure, type: Get-AzureVMAvailableExtension | Format-Table...