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_tools
⚠️
missing_linux_example
⚠️
windows_first
Summary:
The documentation is heavily oriented toward Windows and PowerShell. All examples and terminology are based on PowerShell cmdlets and workflows, with no mention of Linux, Bash, or cross-platform scripting. The SDK and its usage are described exclusively in the context of Windows-centric technologies, and there are no Linux or cross-platform alternatives or examples provided.
Recommendations:
- Add explicit statements about platform support, clarifying whether the SDK and graphical runbooks are Windows-only or cross-platform.
- If Linux or cross-platform support exists, provide equivalent examples using Bash, Python, or other relevant scripting languages.
- Mention Linux automation tools or patterns (such as Bash scripts, cron jobs, or Azure Automation Hybrid Workers on Linux) where appropriate.
- If the SDK is Windows-only, clearly state this limitation at the beginning of the documentation.
- Include a section comparing Windows and Linux automation capabilities in Azure Automation, and link to Linux-specific documentation if available.
Create pull request
Flagged Code Snippets
var writeOutputActivityType = new CommandActivityType {
CommandName = "Write-Output",
ModuleName = "Microsoft.PowerShell.Utility",
InputParameterSets = new [] {
new ParameterSet {
Name = "Default",
new [] {
new Parameter("InputObject"), ...
}
},
...
}
};
var outputName = runbook.AddActivity(
new CommandActivity("Output name", writeOutputActivityType) {
ParameterSetName = "Default",
Parameters = new ActivityParameters {
{
"InputObject",
new RunbookParameterValueDescriptor("YourName")
}
},
PositionX = 0,
PositionY = 0
});
var initializeRunbookVariable = runbook.AddActivity(
new WorkflowScriptActivity("Initialize variable") {
Process = "$a = 0",
PositionX = 0,
PositionY = 100
});
runbook.AddLink(new Link(activityA, activityB, LinkType.Sequence));
runbook.AddLink(
new Link(activityB, activityC, LinkType.Pipeline) {
Condition = string.Format("$ActivityOutput['{0}'] -gt 0", activityB.Name)
});