Skip to main content
Jorge Bernhardt Jorge Bernhardt

Select-AzSubscription

2023

How to update the tenant ID in an Azure key vault
·832 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
I recently migrated an Azure subscription to a new tenant, and in the key vault resources, I had to perform a few additional steps that I want to show you. So In this week’s article, we’ll look at updating the tenant ID and removing previous access policies and role assignments to the key vault resource once it’s moved to the new subscription.

2022

Setting Lifecycle Management Policy on Azure Storage using Azure PowerShell
·1185 words·6 mins· 100 views · 5 likes
Add-AzStorageAccountManagementPolicyAction Azure PowerShell Connect-AzAccount Get-AzStorageAccountManagementPolicy
Following the thread of my last post, I want to show you how to take advantage of this functionality by configuring a data lifecycle management policy in your Azure storage account using Azure PowerShell.
How to enable Access Time Tracking for the Azure Storage Blob service
·768 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
To manage storage costs, it can help to organize your data based on how often it will be accessed. Azure offers us different levels of access to store blob data most cost-effectively, depending on how we use it.
How to enable SFTP support for an Azure storage account
·1520 words·8 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Blob storage now supports SSH File Transfer Protocol (SFTP). This allows us to use SFTP for file access, transfer, and management. In this post, I will show you how to enable an SFTP endpoint for your blob storage account and configure local user identities to authenticate and connect your storage account with SFTP over port 22.
How to enable hierarchical namespace on an Azure storage account
·928 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
To enable a hierarchical namespace and unlock capabilities such as file and directory-level security on an Azure storage account, you need to upgrade your Azure Blob storage with Azure Data Lake Storage Gen2 capabilities.
How to protect a virtual machine using Azure Backup
·906 words·5 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Backup-AzRecoveryServicesBackupItem
Hi everyone, today I want to show you how to enable backups on an existing VM using Azure command-line tools, and then we will check that it works correctly by doing a quick backup.
How to configure RDP properties for a Host Pool - Display settings
·2070 words·10 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
The series of posts on configuring RDP properties for a host pool is ending. In this latest post, I’ll show you how to configure display settings for your Azure virtual desktop environment using PowerShell and the Azure CLI.
How to configure RDP properties for a Host Pool - Device redirection
·2112 words·10 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
Hi, Jorge is back. As I mentioned in my previous post, I will show you the second part of configuring device redirections for your Azure Virtual Desktop environment using PowerShell and Azure CLI.
How to configure RDP properties for a Host Pool - AV redirection
·1239 words·6 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
Today I want to show you how to configure Device redirections for your Azure Virtual Desktop environment using PowerShell and Azure CLI. Given that several properties and different configurations are possible, I divided the information into 2 articles.
How to configure RDP properties for a Host Pool - Session behaviour
·1135 words·6 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
In my previous article, I showed you how to configure the connection information tab of the RDP properties for the host pool. Today, I will show you how to configure the session behavior tab of the RDP properties using PowerShell and Azure CLI.
How to configure RDP properties for a Host Pool - Connection Information
·855 words·5 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
Hi everyone, I showed you how to create an Azure Virtual Desktop host pool in my previous article. This article shows how to configure the connection information tab of the RDP properties for the host pool using PowerShell and Azure CLI.
How to create an Azure Virtual Desktop Host Pool
·846 words·4 mins· 100 views · 5 likes
Azure CLI AVD Azure PowerShell Azure Virtual Desktop
Hi everyone, after a month of dedicated full time to work and to the preparation of the renewals of my certifications, I’m back with the first post in a series of articles where I’ll try to explain how to implement Azure Virtual Desktop.
Logging into an Azure Linux VM using an Azure AD account
·876 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Today I want to show you how you can improve the security of your Linux virtual machines in Azure by integrating with Azure Active Directory (Azure AD) authentication. In this post, I’ll show you how to set up a Linux virtual machine and log in with Azure AD using openSSH certificate-based authentication.
How to route Subscription Activity logs to Azure Log Analytics workspace
·674 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzDiagnosticSetting
Sending resource logs to a Log Analytics workspace allows us to consolidate log entries from multiple resources and query the logs for complex analysis. In this post, I want to show you how to manage diagnostic settings for your subscription and send the Activity logs data to your Log Analytics workspace.
Azure Disk Encryption using PowerShell
·617 words·3 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Disable-AzVMDiskEncryption format-table
Azure Disk Encryption (ADE) provides volume encryption for the OS and data disks of Azure virtual machines by using the DM-Crypt feature in Linux or the BitLocker feature of Windows. ADE is integrated with Azure Key Vault to help you control and manage the disk encryption keys and secrets.
How to resize peered Azure VNets with no downtime
·681 words·4 mins· 100 views · 5 likes
Add-AzVirtualNetworkPeering Azure PowerShell Connect-AzAccount format-table
In a previous article called “ Connect Azure VNets using VNet Peering,” I explained that changes to the settings of a virtual network that has peered couldn’t be done without deleting the existing peering.

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.