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
⚠️
windows_first
⚠️
missing_linux_example
Summary:
The documentation is heavily focused on PowerShell, providing only PowerShell-based examples and instructions for troubleshooting VPN gateways and connections. There are no equivalent examples using the Azure CLI, Bash, or other Linux-friendly tools within this page. The prerequisites and workflow assume the use of PowerShell (either in Cloud Shell or locally), which is more familiar to Windows users. While there is a link to a separate Azure CLI-based troubleshooting guide in the 'Related content' section, this page itself does not provide parity for Linux users or those preferring CLI/Bash workflows.
Recommendations:
- Add parallel Azure CLI (az) command examples alongside PowerShell examples for all troubleshooting steps.
- Include explicit instructions for running these commands in Bash (Cloud Shell or local Linux/macOS terminal).
- Update prerequisites to mention both PowerShell and Azure CLI as supported options, with links to installation guides for each.
- Consider using tabbed code blocks (e.g., 'PowerShell' and 'Azure CLI') to allow users to select their preferred environment.
- Reference the Azure CLI troubleshooting page more prominently at the start of the document, and clarify that all steps can be performed with either tool.
Create pull request
Flagged Code Snippets
# [**Connection**](#tab/connection)
Use [Start-AzNetworkWatcherResourceTroubleshooting](/powershell/module/az.network/start-aznetworkwatcherresourcetroubleshooting) to start troubleshooting the VPN connection.
# [**Connection**](#tab/connection)
Use [New-AzStorageAccount](/powershell/module/az.storage/new-azstorageaccount) and [New-AzStorageContainer](/powershell/module/az.storage/new-azstoragecontainer) to create a new storage account and a container. Then, use [Start-AzNetworkWatcherResourceTroubleshooting](/powershell/module/az.network/start-aznetworkwatcherresourcetroubleshooting) to start troubleshooting the VPN gateway.