Open stvnrs opened 7 years ago
Export-AatAutomationRunbookLog is designed to run interactively so it should return an object rather than just write log info to the output stream.
Move the existing informational output to verbose and for each job logged emit a record like:
ExecutionId : ae917cc7-081f-4334-8ff2-4708bf91aca1 ResourceGroupName : resource-group-name AutomationAccountName : automation-account-name RunbookName : runbook1 StorageAccountName : storageaccountname StorageContainerName : containername Path : /path-to-log-file/
Issue description
Export-AatAutomationRunbookLog is designed to run interactively so it should return an object rather than just write log info to the output stream.
Proposed solution
Move the existing informational output to verbose and for each job logged emit a record like: