Skip to main content
Jorge Bernhardt Jorge Bernhardt

Azure PowerShell

2019

How to deploy the Log Analytics Agent
·464 words·3 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Get-AzOperationalInsightsWorkspace Get-AzOperationalInsightsWorkspaceSharedKeys
In my last post, I explained to create a Workspace of log analytics, check out this link. Today I want to show you how to deploy the Log Analytics agent virtual machine extension to an existing virtual machine using Azure PowerShell.
How to Create an Azure Log Analytics Workspace
·513 words·3 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Get-AzLocation Get-AzOperationalInsightsIntelligencePacks
Recently I attended a very interesting webinar about the new features and capabilities of Azure Monitor Logs also known earlier as Log Analytics, check out this link. Today I want to show you how to create a Log Analytics workspace using Azure Powershell.
Convert Azure VMs to Managed Disks using PowerShell
·581 words·3 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount ConvertTo-AzVMManagedDisk Get-AzAvailabilitySet
This post will show you how to convert a virtual machine, whether within an availability group or a single instance, from unmanaged disks (Storage Account) to disks managed using Azure PowerShell.
How to Install the Secure DevOps Kit for Azure
·513 words·3 mins· 100 views · 5 likes
AzSK Azure PowerShell Connect-AzAccount Get-AzSKAzureServicesSecurityStatus
This quick blog post shows how to install the Secure DevOps Kit for Azure (AzSK). The Secure DevOps for Azure kit offers tools and best practices for creating and maintaining a secure architecture in the Microsoft cloud.
How to Encrypt Disks on Azure VMs using PowerShell
·625 words·3 mins· 100 views · 5 likes
Add-AzKeyVaultKey Azure PowerShell Connect-AzAccount Get-AzADUser
In my previous post, I showed you how to create a Key Vault. Today I will show you how to use that Key Vault to store the encryption key and then encrypt the disks of your virtual machines in Azure with PowerShell.
How to create an Azure Key Vault
·709 words·4 mins· 100 views · 5 likes
Azure Key Vault Azure CLI Azure PowerShell Connect-AzAccount
This post is part of a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create a very important service that works as a secure secrets store: An Azure Key Vault.
How to Host a Static Website Directly on an Azure Storage Account
·522 words·3 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Enable-AzStorageStaticWebsite Get-ChildItem
Today, in this post, I want to show you how to use Azure PowerShell to create a static website in Azure Storage GPv2 accounts. This interesting functionality allows us to publish a static website without any additional cost, only the storage used.
How to create an Azure Load Balancer with PowerShell
·652 words·4 mins· 100 views · 5 likes
Azure PowerShell Get-AzLocation Get-AzResourceGroup Get-AzSubscription
This post is part of a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create an essential component: an Azure Load Balancer.
How to create an Azure Recovery Services Vault
·574 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Get-AzRecoveryServicesVault
This post is part of a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create a component that every Azure subscription should have: an Azure Recovery Service vault.
How to create and manage custom roles using Azure PowerShell
·414 words·2 mins· 100 views · 5 likes
Azure PowerShell Azure Role-based Access Control (RBAC) Azure governance Get-AzRoleDefinition
Sometimes it is necessary to create a new role to adjust it to our needs. Today, I want to show you how to create a custom role using Azure PowerShell with the JSON template.
How to use Azure Resource Locks with PowerShell
·436 words·3 mins· 100 views · 5 likes
Azure PowerShell Azure Resource Locks Get-AzResourceLock Get-AzSubscription
If you want to prevent accidental deletion or changes to resources in your Azure Resource Groups, Microsoft Azure offers a great solution: Azure Resource Locks. In this post, I want to show you how to use Azure Resource Locks in Microsoft Azure using Azure PowerShell.

2018

Tag Azure Resources using Az PowerShell cmdlets
·613 words·3 mins· 100 views · 5 likes
Azure PowerShell Get-AzResource Get-AzSubscription Get-AzTag
This post, shows, how to use Azure PowerShell to add tags to an Azure Resource. Tags are metadata that you can add to an Azure resource. You can tag resources with name/value pairs to organize and group resources in your subscription.
How to install the new Azure PowerShell "Az" Module
·206 words·1 min· 100 views · 5 likes
AZ Azure PowerShell Get-InstalledModule Install-Module
This quick blog post shows how to install the Azure Powershell Az module that replaces the AzureRM module. Before starting the module’s installation, it is important to know that Az and AzureRM modules cannot be imported in the same session or used in the same script.
How to export Azure Resource Groups to ARM Templates
·409 words·2 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Export-AzureRmResourceGroup
In this post, I want to show you how to export a Resource Group to an ARM template using the command line. This tutorial assumes that you already have a Microsoft Azure account set up.
How to create a Virtual Network in Microsoft Azure
·741 words·4 mins· 100 views · 5 likes
Add-AzureRmVirtualNetworkSubnetConfig Azure CLI Azure PowerShell Get-AzureRmLocation
This post is part of a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create an essential component: a Virtual Network.
How to create a Storage Account in Microsoft Azure
·765 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Get-AzureRmLocation Get-AzureRmResourceGroup
This post is part of a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create an essential component: a Storage Account.
How to create a Resource Group in Microsoft Azure
·454 words·3 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Get-AzureRmLocation Get-AzureRmSubscription
This post is the first in a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create an essential component: a Resource Group.