Skip to main content
Jorge Bernhardt Jorge Bernhardt

Get-AzVirtualNetwork

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.
Setting Private Endpoint for Azure Key Vault using Azure PowerShell
·1647 words·8 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Get-AzPrivateEndpoint Get-AzPrivateLinkResource
Hi everyone, and happy new year. In the first post of the year, I want to continue talking about Private Endpoints. In this post, I want to show you how to create a private endpoint to connect securely to an Azure Key Vault, and I’ll also show you how to use two features that Microsoft recently enabled support for Private Endpoint Static IP Configurations and support for customizing the name of the network interface assigned to the private Endpoint.

2022

Setting Private Endpoint for Azure SQL Server using Azure PowerShell
·1526 words·8 mins· 100 views · 5 likes
Azure PowerShell Connect-AzAccount Get-AzPrivateEndpoint Get-AzPrivateLinkResource
I think that Private Endpoint is one of the trends that we should focus on and learn more about. For this reason, in the coming months I will publish more content about this simple but powerful technology.
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 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.
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.
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.

2020

How to deploy an Azure Bastion host in an existing VNet
·945 words·5 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure CLI Azure Cloud Shell Azure PowerShell
Hello everyone, in this post, I want to show you how to deploy an Azure bastion host to connect securely, directly from the Azure portal, to all your virtual machines within your virtual network without the need to expose the RDP or SSH ports to the internet.
How to enable Azure DDoS Protection for an existing VNet
·1022 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
In this post, I’ll show you how to create a standard DDoS plan and associate it with an existing virtual network using PowerShell and the Azure CLI. Distributed denial of service (DDoS) attacks are becoming more and more frequent and it is one of the main security problems that customers who have their resources in the cloud must face.
How to implement the Azure Forced Tunneling via S2S VPN
·557 words·3 mins· 100 views · 5 likes
add-azrouteconfig Azure PowerShell Connect-AzAccount Get-AzLocalNetworkGateway
Hi, As you know, by default, resources deployed to an Azure virtual network that need access to the Internet will use the system-defined default routes to use the Azure backbone. Forced tunneling allows you to redirect all Internet-bound traffic to your on-premise location through a site-to-site VPN tunnel, thus allowing you to manage, inspect, and audit outgoing traffic on your Azure network.
How to deploy a VPN S2S in an existing VNet
·803 words·4 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure PowerShell Connect-AzAccount Get-AzLocalNetworkGateway
Some time ago, I wrote a post showing how to deploy an Azure VPN S2S (site-to-site) from scratch. But this time, I will use the new PowerShell Az module and show you how to deploy it in an existing Azure virtual network.
How to deploy an Azure Application Gateway
·941 words·5 mins· 100 views · 5 likes
Add-AzVirtualNetworkSubnetConfig Azure PowerShell Connect-AzAccount Get-AzApplicationGateway
Hi, today I want to talk to you about Azure Application Gateway. This Azure resource is a web traffic load balancer that redirects traffic (HTTP or HTTPS) to specific resources in a back-end group.
How to create snapshots for Azure managed disks
·1068 words·6 mins· 100 views · 5 likes
Add-AzVMNetworkInterface Azure PowerShell Connect-AzAccount Get-AzDisk
Azure managed disks have a long list of benefits that make them the ideal choice to use with your virtual machines. One of those benefits is the ability to take snapshots of your virtual disks.
How to deploy an Azure NAT Gateway
·1052 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi, today I want to talk to you about Azure Virtual Network NAT, this functionality allows us to simplify and unify the outgoing Internet connectivity for virtual networks in Azure. it is configured at the subnet level and all outbound connectivity uses a single specified IP or a range of public IPs.
Network Security Groups (NSGs)
·942 words·5 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzNetworkInterface
Hi everyone. In this post, I want to show you how to create a network security group (NSG) and security rules using Azure PowerShell and how to associate these security groups with the different available Azure resources.
How to create an Azure Private DNS Zone
·691 words·4 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Connect-AzAccount Get-AzPrivateDnsVirtualNetworkLink
I recently published an article on how to connect VNets using VNet peering; today, I want to show you how to create Azure private DNS zones. These DNS zones can be shared between virtual networks and simplify cross-network and service-discovery scenarios, such as VNet peering.
Azure Spot VMs Explained
·906 words·5 mins· 100 views · 5 likes
Add-AzVMNetworkInterface Azure PowerShell Connect-AzAccount Get-AzSubscription
Hello, I want to talk to you about Azure Spot virtual machines. Although this functionality is currently in a public preview, I find it an exciting alternative to save money in dev/test environments but not in production environments.
Connect Azure VNets using VNet Peering
·442 words·3 mins· 100 views · 5 likes
Add-AzVirtualNetworkPeering Azure PowerShell Connect-AzAccount Get-AzSubscription
Hello everyone, and happy new year. In the year’s first post, I want to show you how to interconnect Azure Virtual Networks using VNet Peering. Once peered, the VNets appear as one network, and all VMs in the peered VNets can communicate with each other directly.

2019

How to deploy Azure VMs with Ephemeral OS disks
·719 words·4 mins· 100 views · 5 likes
Add-AzVMNetworkInterface Azure PowerShell Connect-AzAccount Get-AzSubscription
Hi, today I want to talk to you about the Ephemeral OS disks and how to perform the deployment of virtual machines with Ephemeral OS disks using Azure PowerShell. The Ephemeral operating system disks are created in local VM virtual storage, such as temporary disks, and are not saved in Azure Remote Storage.