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 page demonstrates a strong Windows/PowerShell bias. All code examples and workflows are centered around PowerShell, PowerShell Workflow, and graphical runbooks that use PowerShell cmdlets. Windows-specific tools and patterns (such as PowerShell cmdlets, .NET types, and C# SDK examples) are used exclusively, with no equivalent Bash, Linux shell, or cross-platform CLI examples. The Python section is minimal and lacks parity in detail or examples. There are no references to Linux-native tools, and PowerShell is always presented first and in the most detail.
Recommendations:
- Add equivalent examples for starting and managing runbooks using Azure CLI (az), which is cross-platform and widely used on Linux.
- Provide Bash or shell script examples for interacting with Azure Automation via REST API or Azure CLI.
- Expand the Python section to include detailed parameter handling, example scripts, and parity with PowerShell examples.
- Mention and demonstrate how to use Linux/macOS environments for authoring and running runbooks, including any differences or considerations.
- Where PowerShell-specific types or patterns are discussed, note their Linux/Python/CLI equivalents or limitations.
- Ensure that references to tools and workflows are not Windows-first; present Azure CLI or REST API approaches before or alongside PowerShell.
Create pull request
Flagged Code Snippets
$RBParams = @{
AutomationAccountName = 'AATest'
ResourceGroupName = 'RGTest'
Name = 'Test-Json'
Parameters = $JsonParams
}
$job = Start-AzAutomationRunbook @RBParams
$json = (Get-content -path 'JsonPath\test.json' -Raw) | Out-string
$params = @{"VMName"="WSVMClassic"; "ServiceName"="WSVMClassicSG"}
Start-AzureAutomationRunbook -AutomationAccountName "TestAutomation" -Name "Get-AzureVMGraphical" -Parameters $params
$RBParams = @{
AutomationAccountName = 'AATest'
ResourceGroupName = 'RGTest'
Name = 'Test-Json'
Parameters = $JsonParams
}