Azure PowerShell Reference

Azure Virtual Network Firewalls Cmdlets

This section provides detailed documentation for Azure PowerShell cmdlets related to Azure Firewall, Azure Firewall Policy, and Network Security Groups (NSGs) for network traffic filtering.

Overview

Azure Firewall is a managed, cloud-based network security service that protects your virtual network resources. It acts as a highly available, cloud-native firewall that integrates with Azure Virtual Network. Firewall cmdlets allow you to configure and manage policies, rules, and network settings.

Featured Cmdlets

🛡️

New-AzFirewall

Creates a new Azure Firewall instance.

⚙️

Set-AzFirewall

Updates an existing Azure Firewall instance.

🗑️

Remove-AzFirewall

Removes an Azure Firewall instance.

📜

Get-AzFirewall

Retrieves information about Azure Firewall instances.

📜

Get-AzFirewallPolicy

Retrieves Azure Firewall policies.

New-AzFirewallPolicy

Creates a new Azure Firewall policy.

✏️

Set-AzFirewallPolicy

Updates an Azure Firewall policy.

Remove-AzFirewallPolicy

Removes an Azure Firewall policy.

Key Concepts

Azure Firewall Rules

Azure Firewall supports three types of rules:

Azure Firewall Policies

Firewall policies group rules and provide a central place to manage security configurations for your Azure Firewall instances. This promotes consistency and simplifies management.

Network Security Groups (NSGs)

While Azure Firewall is a dedicated network security service, NSGs can still be used in conjunction with it to provide layer 4 filtering at the subnet or NIC level, offering defense in depth.

Common Scenarios

Related Cmdlet Categories