How to Start and Stop Azure Application Gateway in Azure PowerShell

To save on costs on running Azure Application Gateway in non production environments, I run the following Azure PowerShell commands. Login with Azure PowerShell to your subscription $resourceGroupName = <name>$azureAppGatewayName = <name> $appGateway= Get-AzApplicationGateway -Name $azureAppGatewayNam -ResourceGroupName $resourceGroupNameStop-AzApplicationGateway -ApplicationGateway $appGateway Start-AzApplicationGateway -ApplicationGateway $appGateway Hope this helps.

Azure Resource Graph Queries by Resource Type

The Azure Resource Graph provides the ability query and explore your azure resources at scale. That is across all your subscriptions. I will show options to find the resource type that is be used in your resource graph query. You may ask how to query for storage account resource types and need to find the …

Continue reading Azure Resource Graph Queries by Resource Type

My Azure Resource Graph Queries using Aggregation

Azure Resource Graph supports querying resources across multiple subscriptions and is fast. The key value add is that it supports aggregation using the summarize operator. For example answering questions such as How many resources grouped by subscription or location? How many of each OS type are used in resource groups? What is the most used …

Continue reading My Azure Resource Graph Queries using Aggregation

My Practical Intro to Azure Resource Graph

The Azure Resource Graph is attractive to me for its ability to query Azure resources at scale. I find this relevant in situations where you are managing a large number of subscriptions, resource groups and resources. And you are in situations to analyze and report on them. Without Azure Resource Graph, I would use Azure …

Continue reading My Practical Intro to Azure Resource Graph

My Quick Intro of the New Az PowerShell Module

A new Azure PowerShell module has just come out this December 2018. I'm a big PowerShell scripter working ARM deployments and managing azure resources, so this definitely necessary and not a one off. Although you can read all the details at Introducing the new Azure PowerShell Az module Here is just my quick summary and …

Continue reading My Quick Intro of the New Az PowerShell Module

Comparing Cloud Shell with PowerShell Editors

I love using Azure PowerShell to script creating and managing Azure resources. Yet there are two options I like to compare 1) A script editor such as Windows PowerShell ISE or Visual Studio Code; 2) Azure Portal's Browser-based Cloud Shell This post will be based on Windows environments, as opposed to mac and Linux based …

Continue reading Comparing Cloud Shell with PowerShell Editors

Debugging Azure PowerShell with Activity Log

I got the following error message in PowerShell, as I was trying to create an Azure virtual network with multiple subnets by running New-AzureRMVirtualNetwork This error message is too vague and need more information. So where do I look? There are two options. 1) The long and manual option Go to Azure Portal > the …

Continue reading Debugging Azure PowerShell with Activity Log

Re-Create HDInsight Cluster with Pre-Existing Azure Data Lake Store and Hive Metastore

Upon creating an HDInsight cluster for big data analytics development, the costs can be quite high at around $4 an hour. This adds up, especially when running idle most of the time. To save on the costs, I delete the cluster and re-create when needed. For simple development purposes, my HDInsight depends on Azure Data …

Continue reading Re-Create HDInsight Cluster with Pre-Existing Azure Data Lake Store and Hive Metastore

Using Azure Data Lake Store .NET SDK to Upload Files

Blog Series: Creating Azure Data Lake PowerShell and Options to upload data to Azure Data Lake Store Using Azure Data Lake Store .NET SDK to Upload Files Creating Azure Data Analytics Azure Data Lake Analytics: Database and Tables Azure Data Lake Analytics: Populating & Querying Tables Azure Data Lake Analytics: How To Extract JSON Files …

Continue reading Using Azure Data Lake Store .NET SDK to Upload Files