Skip to main content
Jorge Bernhardt Jorge Bernhardt

Azure CLI

2023

Bicep - Deploy Azure Storage Account using Azure CLI
·713 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Storage Account Microsoft
Azure Storage is a core foundational PaaS (Platform as a Service) offering within Microsoft Azure, providing a versatile and scalable solution for storing files, blobs (binary large objects), and other data types.
Analyzing Azure Activity Logs with Command-Line Tools
·848 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
As administrators of an Azure subscription, we are always interested in monitoring what is happening in our environment. To do this, Azure gives us a way to do this through activity logs, which record the actions that are performed on our subscription.
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.
Creating Restore Points for Azure VMs using Azure CLI
·1360 words·7 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Microsoft
If you need to perform a quick ad-hoc backup of your virtual machine before maintenance that allows you to take consistent snapshots of all managed disks attached to your virtual machine, you should try Azure restore points.

2022

How to manage Log Analytics tables using the Azure CLI
·907 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Microsoft
Microsoft last month announced the general availability of a new experience for managing Azure Log Analytics table metadata from the Azure portal. So I think it’s an excellent time to see how to view and edit table properties in Log Analytics workspaces using the Azure CLI and check how these changes are reflected in the Azure portal.
Setting Lifecycle Management Policy on Azure Storage using Azure CLI
·948 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
In my last article, I showed you how to enable access time tracking on the Azure Storage Blob service. Today I want to show you how to take advantage of this functionality by setting up a data lifecycle management policy in your Azure storage account using Azure CLI.
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 - Summary
·314 words·2 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Microsoft
In this article, I want to summarize all the information I’ve posted about configuring RDP properties for an Azure virtual desktop environment. First, I will start by indicating which properties are already established by default when creating a host pool.
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.
How to configure a data retention policy for individual tables in Log Analytics
·564 words·3 mins· 100 views · 5 likes
Azure CLI Management and governance Microsoft Microsoft Azure
As you know, each Workspace has a default retention policy that applies to all tables. But you can set a different retention policy on individual tables if you desire. In this post, I want to show you how to configure a data retention policy for individual tables in Log Analytics using Azure CLI.
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.