Currently Export-AzAutomationRunbook cmd is able to export runbook to a wps_2 script (.ps1 ) file, for wps_2 or wps_2 Workflow runbooks, or to a graphical runbook (.graphrunbook) file, for graphical runbooks.
An update is required to export .py extension files.
We had a scenario to export python runbooks and when we used this command, instead of exporting .py files, .ps1 files were exported.
Description of the new feature
Currently Export-AzAutomationRunbook cmd is able to export runbook to a wps_2 script (.ps1 ) file, for wps_2 or wps_2 Workflow runbooks, or to a graphical runbook (.graphrunbook) file, for graphical runbooks.
An update is required to export .py extension files.
We had a scenario to export python runbooks and when we used this command, instead of exporting .py files, .ps1 files were exported.
Proposed implementation details (optional)
No response