Skip to main content
Jorge Bernhardt Jorge Bernhardt

Posts

2021

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.
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 set the Password Expiration Policy in Microsoft 365
·375 words·2 mins· 100 views · 5 likes
Azure AD Connect-MsolService Get-MsolPasswordPolicy Import-Module
If you have not yet implemented any identity protection mechanisms, such as multi-factor authentication (MFA), or to satisfy your company’s security regulations, you should establish a password expiration policy. In that case, this article will interest you.
Passed Microsoft Exam MS-500: Microsoft 365 Security Administration
·372 words·2 mins· 100 views · 5 likes
Certification Certifications Microsoft Microsoft 365
Last Monday, I passed the Microsoft exam MS-500 and earned the Microsoft 365 Certified: Security Administrator Associate certification. I am very happy about this; It was a lot of hard work, but it was worth it!
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 configure IIS logging using PowerShell
·856 words·5 mins· 100 views · 5 likes
Get-ChildItem Get-ItemProperty Get-PSProvider Import-Module
Log files are great places to look when troubleshooting or analyzing your website traffic. Every time your IIS receives a client’s request, it records that request in a log file. In this post, I want to show you how to use PowerShell to configure and manage IIS log files, such as changing the logging frequency or setting the folder where IIS will store log files or, if you prefer, how to turn off logging.
How to install IIS on Windows Server with SSL using PowerShell
·703 words·4 mins· 100 views · 5 likes
Get-ChildItem Get-PSProvider Get-WebBinding Import-Module
Today I want to show you how to install Internet Information Server (IIS) on my favorite operating system, Windows Server using PowerShell. IIS is a great feature that allows us to provide our server with an extensible web server.
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.

2020

Retrieving Azure Web Apps diagnostics logs
·520 words·3 mins· 100 views · 5 likes
Microsoft Azure Web Apps
In a previous post, I showed you How to enable Azure Web App diagnostic logs. These logs provide an excellent way to detect problems and analyze how your application works. In this post, I want to show you how to retrieve diagnostic logs using command-line tools.
Managing automatic provisioning of agents in Azure Security Center
·556 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
In this post, I want to show you how to enable the automatic provisioning of agents in Azure Security Center. Although Microsoft recommends enabling this option, it is disabled by default.
How to configure Azure Security Center notifications
·556 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
In this mini-post, I will explain something essential that you should configure when you start the Azure Security Center configuration, the security notifications. Today I will explain how to do this configuration using PowerShell and Azure CLI.
How to configure Azure Key Vault to send logs and metrics to Log Analytics workspace
·787 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hello, Jorge is back. In a previous post, I showed you how to configure Azure Key Vault diagnostic parameters to send logs and metrics to a storage account, but many of you have asked me to show you how to configure Azure Key Vault diagnostic parameters to send to a Log Analytics workspace.
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.
Passed Microsoft Exam MS-101: Microsoft 365 Mobility and Security
·351 words·2 mins· 100 views · 5 likes
Certification Certifications Microsoft Microsoft 365
Last Monday, I passed the Microsoft 365 MS-101 exam, which was the last one I needed to obtain the Microsoft 365 Certified: Enterprise Administrator Expert. I am really happy about this; it was a lot of hard work but, it was worth it!