Skip to main content
Jorge Bernhardt Jorge Bernhardt

Login-AzAccount

2021

How to deploy identical VMs in different Azure Availability Zones
·575 words·3 mins· 100 views · 5 likes
Azure PowerShell Get-AzSubscription Get-AzVirtualNetwork Login-AzAccount
Hello everyone, in this post I want to show you how to create two identical virtual machines in two different Azure Availability Zones using PowerShell. An Availability Zone is a physically separate zone in an Azure region.

2019

How to Resize Azure Managed Disks
·752 words·4 mins· 100 views · 5 likes
Azure CLI Get-AzDisk Get-AzSubscription Get-AzVM
In this post, I want to show you how to expand a managed operating system disk in an Azure virtual machine, using Azure PowerShell and Azure CLI. This tutorial assumes that you already have a Microsoft Azure account configured.
Create multiple identical VMs at once with Azure PowerShell
·438 words·3 mins· 100 views · 5 likes
Add-AzVMNetworkInterface Get-AzSubscription Login-AzAccount Microsoft
Hi, in this blog post, I want to show you a script that I used to implement several identical virtual machines at the same time with Azure PowerShell. Prerequisites> Prerequisites # This tutorial assumes that you already have a Microsoft Azure account set up and you have the PowerShell Azure module on your machine installed.
How to configure a Cloud Witness for a Failover Cluster
·559 words·3 mins· 100 views · 5 likes
Get-AzStorageAccount Get-AzStorageAccountKey Get-AzSubscription Get-ClusterQuorum
In the past week, I changed the configuration of a Failover Cluster in Windows Server 2016 that operated with a File share witness to use a Cloud Witness. In this post, I will show you how I configured a cloud witness for a failover cluster using Windows PowerShell and an Azure storage account.
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 Get-AzResourceLock Get-AzSubscription Login-AzAccount
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.