This page contains Windows bias

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
⚠️ windows_tools
⚠️ missing_linux_example
Summary:
The documentation demonstrates a Windows bias by providing only PowerShell-based examples and instructions for managing dependency analysis (enabling/disabling, exporting data), with no equivalent CLI or scripting guidance for Linux users. Windows terminology and tools (PowerShell, Connect-AzAccount, select-azsubscription) are used exclusively, and Windows credential requirements are described before Linux. There is no mention of Bash, Azure CLI, or Linux-native automation, making it harder for Linux administrators to follow or automate these tasks.
Recommendations:
  • Provide equivalent instructions and examples using Azure CLI and/or Bash scripts for all PowerShell-based operations (enabling/disabling dependency analysis, exporting data, etc.).
  • Explicitly mention and demonstrate how Linux users can authenticate and interact with Azure Migrate (e.g., using az login and az account set commands).
  • List Linux credential requirements before or alongside Windows requirements to avoid 'windows_first' ordering.
  • If PowerShell is required for some operations, clarify cross-platform support (e.g., PowerShell Core on Linux/macOS) and provide installation instructions.
  • Include screenshots or terminal outputs from Linux environments where applicable.
  • Reference Linux-native tools and patterns (e.g., cron jobs, shell scripting) for automation scenarios.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-29 00:01 #95 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-16 00:00 #52 completed ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

Connect-AzAccount
## Visualize network connections in Power BI Azure Migrate offers a Power BI template that you can use to visualize network connections of many servers at once, and filter by process and server. To visualize, load the Power BI with dependency data as per the below instructions. ### Log in to Azure 1. Log in to your Azure subscription using the Connect-AzAccount cmdlet.
Connect-AzAccount -EnvironmentName AzureUSGovernment
select-azsubscription -subscription "Contoso Demo Subscription"
Install-Module .\AzMig.Dependencies
Get-AzMigDiscoveredVMwareVMs -ResourceGroupName "ContosoDemoRG" -ProjectName "ContosoDemoProject" -OutputCsvFile "ContosoDemo_VMs.csv" [-AutoEnabledDepMap]
Get-AzMigDiscoveredVMwareVMs -ResourceGroupName "ContosoDemoRG" -ProjectName "ContosoDemoProject" -Filter @{"Dependencies"="Enabled"} -OutputCsvFile "ContosoDemo_VMs.csv" [-AutoEnabledDepMap]
Get-AzMigDiscoveredVMwareVMs -ResourceGroupName "ContosoDemoRG" -ProjectName "ContosoDemoProject" -Filter @{"Dependencies"="Enabled"} -ApplianceName "ContosoApp" -OutputCsvFile "ContosoDemo_VMs.csv" [-AutoEnabledDepMap]
### Enable dependency data collection You may need to enable dependency analysis on one or more servers to restart dependency data collection from servers that you disabled using PowerShell module previously. You need to follow the same steps to export the discovered servers as mentioned above and then import the list of servers you want to enable. In the following example, dependency analysis is being enabled on the list of servers in the input file ContosoDemo_VMs_Enable.csv.
3. Install the AzMig.Dependencies PowerShell module