Skip to main content
Jorge Bernhardt Jorge Bernhardt

Microsoft

2021

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.
Passed Microsoft Exam AZ-140: Configuring and Operating Microsoft Azure Virtual Desktop
·363 words·2 mins· 100 views · 5 likes
Certification Certifications Microsoft Microsoft Azure
Last Monday, I passed the Microsoft AZ-140 exam: Microsoft Azure Virtual Desktop Configuration and Operation. And with that exam, I earned the Azure Virtual Desktop Specialty Certification. If you plan to take this exam, you must have experience in Azure technologies; My recommendation is to already have the Microsoft Azure Administrator certification before taking this exam.
How to create teams and channels in Microsoft Teams using PowerShell
·681 words·4 mins· 100 views · 5 likes
Add-TeamUser Connect-MicrosoftTeams Get-Team Get-TeamUser
Hello everyone, this is the first of many articles I hope to post about managing Microsoft 365 using PowerShell. In this first article, I want to show you how to perform basic administration tasks in Microsoft Teams using PowerShell.
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.
Passed Microsoft Exam SC-900: Microsoft Security, Compliance, and Identity Fundamentals
·348 words·2 mins· 100 views · 5 likes
Certification Certifications Microsoft Microsoft 365
Yesterday I passed the Microsoft exam SC-900: Microsoft Security, Compliance, and Identity Fundamentals. In my opinion, it is an excellent opportunity to validate your knowledge of the security level of both Azure and Microsoft 365 if you want to start a career in security in Microsoft cloud-based services.
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.