PowerTip: Get all Azure Resource Manager resource groups with PowerShell

Summary: Using the AzureRM cmdlets to get a list of resource groups.  I have a client who has a large list of resource groups. Can you show me how to get a filtered list?  Just use the Get-AzureRMResourceGroup cmdlet and pipe the results to Where-Object. To identify all resource groups that start with HSG in… Read more

Work with the Azure Resource Manager cmdlets – Part 3

Summary: Create and access resource groups with the AzureRM cmdlets.  I’m happily sitting here logged into Azure with the AzureRM cmdlets and would like to start with resource groups.  Could you show me where to start?  Honorary Scripting Guy, Sean Kearney, is here again. Yesterday we discovered how to automate authentication to Azure Resource Manager…. Read more

PowerTip: Get a list of all subscriptions in your Azure Resource Manager account

Summary: Use the Get-AzureRMSubscription cmdlet.  How can I see all of the available subscriptions when I am logged into Azure Resource Manager?  Just run the Get-AzureRMSubscription cmdlet to get a complete list available to your UserID. Get-AzureRMSubscription… Read more

Work with the Azure Resource Manager cmdlets – Part 2

Summary: Authenticate to Azure with the AzureRM cmdlets.  I’ve got the new AzureRM cmdlets installed, but I’m just not sure where to start! Could you give me a nudge in the right direction?  Honorary Scripting Guy, Sean Kearney, is here to help you out. The first real piece you need is to get authenticated to… Read more

PowerTip: Find a module in the PowerShell Gallery

Summary: Use the PowerShell Find module to search for modules.  I was trying to use the Find-module. Can you show me how to find all modules that have the word, Azure, in them?  Just use a wildcard in the search like in the following example to return modules with the name Azure in the beginning: Find-Module Azure*… Read more

Work with the Azure Resource Manager cmdlets – Part 1

Summary: Obtain and install the AzureRM cmdlets.  Hey, Scripting Guy! I heard Microsoft introduced some new cmdlets to work with Azure Resource Manager.   Could you show me how I could install them?  Honorary Scripting Guy, Sean Kearney, is here today to introduce you to the newest cmdlets to manage the Azure Resource Manager environment. Most… Read more

The Scripting Guys and Scripting Wife summer tour

SUMMARY: Ed Wilson talks about his summer of PowerShell tour with dates and links to live appearances. Hello everyone,  Hope you are having a fantastic day. Ed and I have been busy as usual and are ready to get busier.  Here are the dates and links to upcoming events we will be attending and Ed… Read more

The top three tips for effective sorting in PowerShell

Summary: Learn the top three tips to effectively use Windows PowerShell to sort data in this blog post by the Microsoft Scripting Guy, Ed Wilson. One of the fundamental things that I need to do when I look at any kind of data is sort it so that I can make sense of what I… Read more

PowerTip: Specify that a script requires admin privileges to run

Summary: Learn how to require admin privileges to run a Windows PowerShell script.  How can I make sure that my Windows PowerShell script has administrator privileges to run?  Use the #Requires directive and specify RunAsAdministrator. Here is an example: #Requires -RunAsAdministrator… Read more

How to answer a technical question: A guide for presenters

Summary: Learn how to properly answer a technical question in a presentation in this step-by-step post by PowerShell MVP June Blender. Today we have another blog post by PowerShell MVP June Blender. June is an Honorary Scripting Guy and a technical evangelist for the SAPIEN Technologies, Inc. She has been working with PowerShell for a long… Read more