About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
powershell_heavy
⚠️
missing_linux_example
⚠️
windows_tools
Summary:
The documentation page demonstrates a Windows bias by exclusively providing Azure PowerShell command examples for enabling and disabling diagnostic logs (Top flows and Flow trace), with no equivalent Azure CLI, Bash, or Linux-native instructions. The only command-line tooling referenced is PowerShell, which is most commonly associated with Windows environments, and there is no mention of cross-platform or Linux-first alternatives.
Recommendations:
- Provide equivalent Azure CLI (az) command examples for all PowerShell instructions, as Azure CLI is cross-platform and widely used on Linux.
- Explicitly mention that all operations can be performed from Linux, macOS, or Windows, and clarify any platform-specific requirements.
- Where possible, include Bash script examples alongside PowerShell, especially for enabling/disabling diagnostic settings.
- Reference Azure Portal UI steps as an alternative for users who may not use PowerShell or CLI.
- Add a note or table summarizing all available tooling (PowerShell, Azure CLI, REST API, Portal) for each operation, with links to relevant documentation.
Create pull request
Flagged Code Snippets
Get-AzProviderFeature -FeatureName "AFWEnableTcpConnectionLogging" -ProviderNamespace "Microsoft.Network"
Set-AzContext -SubscriptionName <SubscriptionName>
$firewall = Get-AzFirewall -ResourceGroupName <ResourceGroupName> -Name <FirewallName>
$firewall.EnableFatFlowLogging = $true
Set-AzFirewall -AzureFirewall $firewall
Set-AzContext -SubscriptionName <SubscriptionName>
$firewall = Get-AzFirewall -ResourceGroupName <ResourceGroupName> -Name <FirewallName>
$firewall.EnableFatFlowLogging = $false
Set-AzFirewall -AzureFirewall $firewall
Connect-AzAccount
Select-AzSubscription -Subscription <subscription_id> or <subscription_name>
Register-AzProviderFeature -FeatureName AFWEnableTcpConnectionLogging -ProviderNamespace Microsoft.Network
Register-AzResourceProvider -ProviderNamespace Microsoft.Network
Unregister-AzProviderFeature -FeatureName AFWEnableTcpConnectionLogging -ProviderNamespace Microsoft.Network