Skip to main content
Jorge Bernhardt Jorge Bernhardt

Select-AzSubscription

2020

Connect Azure VNets using VNet Peering
·442 words·3 mins· 100 views · 5 likes
Add-AzVirtualNetworkPeering Azure PowerShell Connect-AzAccount Get-AzSubscription
Hello everyone, and happy new year. In the year’s first post, I want to show you how to interconnect Azure Virtual Networks using VNet Peering. Once peered, the VNets appear as one network, and all VMs in the peered VNets can communicate with each other directly.

2019

Azure Storage: Managing containers and blobs
·762 words·4 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Get-AzStorageAccountKey Get-AzStorageBlob
Hello everyone, in this post, I want to show you the Azure PowerShell commands that I have been collecting to manage containers and blobs in the Azure Storage service. Prerequisites
How to create an Azure Availability Set
·528 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
An Azure availability set is a group with two or more virtual machines in the same data center, their implementation ensures that at least one of the virtual machines hosted in the availability set will be available during a host update event or a failure in the host’s physical hardware.
How to map a Network Drive to an Azure File Share
·431 words·3 mins· 100 views · 5 likes
Azure PowerShell cmdkey Connect-AzAccount ConvertTo-SecureString
In a previous post, I explained how to create an Azure file share. Today, I want to show you how to connect and mount an Azure file share with Azure PowerShell.
How to Create an Azure File Share
·520 words·3 mins· 100 views · 5 likes
AZ Azure CLI Azure Cloud Shell Azure PowerShell
Azure File Service offers managed file shares in the cloud accessible via the standard Server Message Block (SMB) protocol. This allows you to create one or more files shared in the cloud and use the share as a normal Windows file server.
How to generate an Azure VM RDP file
·433 words·3 mins· 100 views · 5 likes
Connect-AzAccount Get-AzRemoteDesktopFile Get-AzSubscription Get-AzVM
Hi everyone, today I want to show you how to generate an Azure VM RDP file, either for a single virtual machine or for all the VMs in a resource group.
How to move Azure Resources to another Resource Group
·444 words·3 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Get-AzResource Get-AzResourceGroup
In many cases, it is necessary to reorganize and move Azure resources to other Resource Groups. Today, I want to show you how to move an Azure Resource to another Resource Group using Azure PowerShell.
How to implement Azure Ultra Disks
·839 words·4 mins· 100 views · 5 likes
Add-AzVMDataDisk Azure PowerShell Connect-AzAccount Get-AzComputeResourceSku
Recently, Microsoft announced the general availability of Microsoft Azure Ultra Disks. These new managed disks offer incredible performance with a latency of less than milliseconds, ideal for use on Azure VMs running mission-critical workloads.
How to deploy Azure VMs with Ephemeral OS disks
·719 words·4 mins· 100 views · 5 likes
Add-AzVMNetworkInterface Azure PowerShell Connect-AzAccount Get-AzSubscription
Hi, today I want to talk to you about the Ephemeral OS disks and how to perform the deployment of virtual machines with Ephemeral OS disks using Azure PowerShell. The Ephemeral operating system disks are created in local VM virtual storage, such as temporary disks, and are not saved in Azure Remote Storage.
How to Collect Event and Performance Data in Log Analytics
·630 words·3 mins· 100 views · 5 likes
Connect-AzAccount Get-AzOperationalInsightsDataSource Get-AzOperationalInsightsWorkspace Get-AzSubscription
Today we continue with the Log Analytics post series. In the previous posts of this series, I showed you how to create a workspace for log analytics and how to deploy the log analytics.
Run Azure Resource Graph queries using Azure PowerShell
·498 words·3 mins· 100 views · 5 likes
Azure PowerShell Azure Resource Graph Connect-AzAccount Get-AzSubscription
In my last article, I showed you how to enable the Azure Resource Graph module in PowerShell and Azure CLI. Today I want to show you how to use this service to make queries and explore the resources using Azure PowerShell.
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 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.