Skip to main content
Jorge Bernhardt Jorge Bernhardt

Get-AzStorageAccount

2023

Setting Private Endpoint for Azure File Share using Azure PowerShell
·1597 words·8 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Get-AzPrivateEndpoint Get-AzPrivateLinkResource
We continue with the series of articles on private endpoints. Today I want to show you how to create a private endpoint to privately and securely connect to an Azure file share using Azure PowerShell.

2022

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.

2021

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 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 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.
How to store the Terraform state file in Azure Storage
·874 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Get-AzStorageAccount
In this post, I want to show you how to configure terraform to use an Azure storage account to store and protect your tfstate file. To manage the infrastructure and configuration, Terraform writes the status of resources to a tfstate file.
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 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.

2020

How to enable soft delete in Azure Storage Services
·713 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hello, today I want to talk to you about soft delete, this feature allows you to recover files or blobs that were previously marked for deletion. When the feature is enabled, you can recover your data after deletion, within a retention period that you must specify when enabling this feature.
How to configure Azure Key Vault diagnostic settings
·778 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
One of the security recommendations established by Microsoft in Azure Security Center is to enable diagnostic logs in Key Vaults. This lets you know how, when, and by whom your key vaults are accessed.
How to configure your Azure storage account to use TLS version 1.2
·650 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
By default, Azure Storage accounts allow clients to send and receive data with the oldest version of TLS (1.0). If you want to apply stricter security measures to your storage account, this article could be of interest to you.

2019

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.