I often use the Get-AutomationVariable
to read variables in my runbooks. Today I realized this only works in the Azure environment or Windows Hybrid Runbook Workers – but not Linux Hybrid Runbook workers. Turns out this cmdlet is part of a set of internal cmdlets, made available via a Orchestrator.AssetManagement.Cmdlets
module.
Of course you can use Get-AzAutomationVariable
everywhere but that doesn’t work with encrypted variables. I wonder if the equivalent in Python works fine on Linux Hybrid Runbook Workers.
Some more limitations etc. in this doc.