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
⚠️
windows_tools
Summary:
The documentation page demonstrates a strong Windows bias by providing only PowerShell examples for all command-line operations, referencing PowerShell modules and cmdlets exclusively, and omitting equivalent instructions for Linux environments (such as Azure CLI or Bash). Windows-centric tools and patterns are mentioned first and often exclusively, with no parity for Linux-native workflows.
Recommendations:
- Provide equivalent Azure CLI examples for all PowerShell commands, as Azure CLI is cross-platform and commonly used on Linux and macOS.
- Include Bash script examples where appropriate, especially for automation scenarios.
- Mention both PowerShell and CLI options in prerequisites and throughout the documentation, not just PowerShell.
- Clarify that PowerShell can be used cross-platform, but also highlight native Linux workflows.
- Add a section or callouts for Linux/macOS users, ensuring they can follow the same procedures without relying on Windows tools.
Create pull request
Flagged Code Snippets
# Revise variables with your actual values.
$resourceGroup = "ResourceGroupName"
$automationAccount = "AutomationAccountName"
$vaultName = "KeyVaultName"
$keyName = "KeyName"
Set-AzAutomationAccount `
-ResourceGroupName $resourceGroup `
-Name $automationAccount `
-AssignSystemIdentity
$vaultURI = (Get-AzKeyVault -VaultName $vaultName).VaultUri
$keyVersion = (Get-AzKeyVaultKey -VaultName $vaultName -KeyName $keyName).Version
Set-AzAutomationAccount `
-ResourceGroupName $resourceGroup `
-Name $automationAccount `
-AssignSystemIdentity `
-KeyName $keyName `
-KeyVaultUri $vaultURI `
-KeyVersion $keyVersion `
-KeyVaultEncryption
(Get-AzAutomationAccount `
-ResourceGroupName $resourceGroup `
-Name $automationAccount).Encryption `
| ConvertTo-Json