Skip to main content
Jorge Bernhardt Jorge Bernhardt

Get-AzSubscription

2021

How to change Azure Premium Disk Performance tiers without downtime
·694 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
On Azure Premium disks, we can change the performance tier even when it is connected to running virtual machines. With Premium SSD performance tiers, we have the flexibility to scale drive performance without increasing the size of the drive by selecting a higher performance tier and returning it to its original performance tier, allowing us to fine-tune the performance to our needs and save money.
How to use a VM system-assigned managed identity to access Azure Key Vault
·1070 words·6 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi, In a previous post, I showed you how to enable system-assigned managed identity on an Azure virtual machine. Today, I want to show you how to assign a managed identity to access an Azure resource securely.
How to enable the system-assigned managed identity on an Azure VM
·696 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi, Jorge is back. In this post, I want to show you How to enable the system-assigned managed identity on an Azure VM using Powershell and Azure CLI. When you enable a system-assigned managed identity, Azure creates an identity associated with the instance and stores it to the Azure AD tenant associated with the subscription where you created the service instance.
How to change the PSK of the Azure VPN Gateway Connection
·770 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure VPN Gateway Connect-AzAccount
When deploying a VPN Gateway in Azure, we are limited to using pre-shared keys (PSK) for authentication. As you know, Azure generates a Pre-Shared Key (PSK) when the VPN tunnel is created.
How to create IP Groups for Azure Firewall rules
·944 words·5 mins· 100 views · 5 likes
Azure CLI Azure Firewall Azure PowerShell Connect-AzAccount
Hi everyone, In a previous post, I showed you how to deploy an Azure Firewall. Today I will show you how to create and manage IP Groups in your Azure Firewall using PowerShell and Azure CLI.
How to configure Azure Bastion host to send logs and metrics to Log Analytics workspace
·793 words·4 mins· 100 views · 5 likes
Azure Bastion Azure CLI Azure PowerShell Connect-AzAccount
Hi, In a previous post, I showed you how to configure Azure Bastion diagnostic parameters to send logs and metrics to a storage account. But suppose you already have a log analysis workspace.
How to configure Azure Bastion diagnostic settings
·781 words·4 mins· 100 views · 5 likes
Azure Bastion Azure CLI Azure Cloud Shell Azure PowerShell
Hello! everybody. Today I will show you how to configure Azure Bastion Diagnostic to send logs and metrics to a storage account using PowerShell and Azure CLI. Once this configuration is established, you can use the stored information to find out which users connected through Azure Bastion, when, from where, and metric information about the workloads of the Azure Bastion host.
How to enable the Key vault's firewall
·854 words·5 mins· 100 views · 5 likes
Add-AzKeyVaultNetworkRule Azure CLI Azure Cloud Shell Azure PowerShell
One of the security recommendations established by Microsoft in Azure Security Center is to enable the key vault’s firewall to prevent unauthorized traffic from reaching your key vault. This post will show you how to enable the firewall to ensure that only traffic from permitted networks can access your key vault using PowerShell and the Azure CLI.
How to configure Azure Firewall diagnostic settings
·778 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hey, guys, following the series of publications on Azure Firewall, today I’ll show you How to configure Azure Firewall Diagnostics to send logs and metrics to a storage account using PowerShell and the Azure CLI.
How to use Packet captures with Azure Network Watcher
·875 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi everyone, continuing with the series of articles related to Azure Network watcher, I want to show you how to use the packet capture tool from the command line. Packet captures are in a standard format and can be analyzed offline using tools such as Wireshark and stored in an Azure storage account.
How to deploy an Azure Firewall in an existing VNet
·1051 words·5 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure CLI Azure Cloud Shell Azure Firewall
This is the first post in a series of articles where I will show you how to manage an Azure Firewall using PowerShell and Azure CLI. In this first post, I want to show you how to deploy an Azure Firewall in an existing virtual network.
How to install the Network Watcher VM extension from the Command Line
·652 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzSubscription
In a previous post, I showed you how to enable network watcher in your Azure region. Today I will show you how to install the Network Watcher VM extension on your virtual machines using PowerShell and Azure CLI.
How to copy a blob between two Azure storage accounts using PowerShell
·568 words·3 mins· 100 views · 5 likes
Connect-AzAccount Get-AzStorageAccountKey Get-AzStorageBlobCopyState Get-AzSubscription
Hi everyone, I hope you’re staying healthy. I want to show you how to copy a blob between two Azure storage accounts in the same Azure subscription using PowerShell in this post.
How to enable Azure Blob storage versioning
·737 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi everyone, in this post, I will show you how to enable blob versioning on your Azure storage account using PowerShell and Azure CLI. When blob versioning is enabled, you can restore a previous version of a blob to recover data if modified or deleted by mistake.
Creating Azure action groups from the command line
·797 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzActionGroup
Today, I will show you how to create, list, update and delete Azure action groups using PowerShell and Azure CLI. Action groups are separate and independent resources in which you define a collection of notification preferences.
How to create an Azure Service Principal with Password
·958 words·5 mins· 100 views · 5 likes
Azure AD Azure CLI Azure Cloud Shell Azure PowerShell
Hello, guys. Today I want to show you how to create a service principal using PowerShell and Azure CLI. In case you don’t know, an Azure service identity is an identity that is created in Azure AD and associated with an application.
How to disable anonymous public access for an Azure storage account
·604 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
One security recommendation Microsoft established in Azure Security Center is to disable public access to storage accounts. In this post, I will show you how you can configure your storage account to prevent public access to an Azure storage account using PowerShell and the Azure CLI.
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.
How to configure Storage Analytics metrics
·910 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Azure PowerShell
Hi, Jorge is back. In this post, I want to show you how to configure Storage Analytics metrics using PowerShell and Azure CLI. Azure Storage Analytics: performs logging and provides metrics data for a storage account.
How to select Azure Defender plan by resource type in Azure Security Center
·603 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
Hi everyone, and happy new year. In the first post of the year, I want to show you how to change the Azure Defender plans for your subscription in Azure Security Center using PowerShell and Azure CLI.