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 page demonstrates a Windows bias by providing detailed instructions and code samples exclusively for Azure PowerShell, with no equivalent examples for Linux users (such as Azure CLI or Bash). The PowerShell section is prominent and detailed, while Linux-native tools and workflows are not mentioned. This may disadvantage users who administer Azure from Linux or prefer cross-platform tools.
Recommendations:
- Add equivalent Azure CLI (az) command examples for all PowerShell operations, including deleting backup items, undoing deletions, and resuming backups.
- Explicitly mention that all operations can be performed from any OS using Azure CLI, and provide Bash-friendly examples.
- If certain features are only available via PowerShell, clearly state this limitation and provide a roadmap or alternatives for Linux users.
- Reorganize the documentation to present cross-platform (CLI) examples before or alongside PowerShell examples to avoid a 'Windows-first' impression.
- Include a table or section comparing the steps for Azure Portal, PowerShell, and CLI to ensure parity and clarity for all users.
Create pull request
Flagged Code Snippets
Disable-AzRecoveryServicesBackupProtection -Item $myBkpItem -RemoveRecoveryPoints -VaultId $myVaultID -Force
WorkloadName Operation Status StartTime EndTime JobID
------------ --------- ------ --------- ------- -----
AppVM1 DeleteBackupData Completed 12/5/2019 12:44:15 PM 12/5/2019 12:44:50 PM 0488c3c2-accc-4a91-a1e0-fba09a67d2fb
Get-AzRecoveryServicesBackupItem -BackupManagementType AzureVM -WorkloadType AzureVM -VaultId $myVaultID | Where-Object {$_.DeleteState -eq "ToBeDeleted"}
Name ContainerType ContainerUniqueName WorkloadType ProtectionStatus HealthStatus DeleteState
---- ------------- ------------------- ------------ ---------------- ------------ -----------
VM;iaasvmcontainerv2;selfhostrg;AppVM1 AzureVM iaasvmcontainerv2;selfhostrg;AppVM1 AzureVM Healthy Passed ToBeDeleted
$myBkpItem = Get-AzRecoveryServicesBackupItem -BackupManagementType AzureVM -WorkloadType AzureVM -VaultId $myVaultID -Name AppVM1
Undo-AzRecoveryServicesBackupItemDeletion -Item $myBKpItem -VaultId $myVaultID -Force
WorkloadName Operation Status StartTime EndTime JobID
------------ --------- ------ --------- ------- -----
AppVM1 Undelete Completed 12/5/2019 12:47:28 PM 12/5/2019 12:47:40 PM 65311982-3755-46b5-8e53-c82ea4f0d2a2