Skip to content

Support plain output messages in Azure Automation - #26

Merged
PrzemyslawKlys merged 1 commit into
masterfrom
fix/output-stream
Oct 6, 2026
Merged

PrzemyslawKlys merged 1 commit into
masterfrom
fix/output-stream

Conversation

@PrzemyslawKlys

@PrzemyslawKlys PrzemyslawKlys commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Azure Automation captures Output messages, while Verbose needs job-wide logging and Information is unsupported. Write-Color -OutputStream Output now emits one joined plain string per call on the success stream. Host remains the default; timestamps, file logging, and -NoConsoleOutput retain their existing behavior.

This supports O365Synchronizer issue #52 and O365Synchronizer PR #55. PSWriteColor owns message rendering and stream selection; O365Synchronizer uses a private adapter to keep output logs out of internal contact data. Publish PSWriteColor 1.0.6 before merging the consumer PR and validating its public-package integration.

Validated the full module suite on Windows PowerShell 5.1 and PowerShell 7: 46 tests per runtime. The independent local review found no actionable defects in either candidate. Regenerated command help through PowerForge. Azure Automation job execution is not yet verified.

@PrzemyslawKlys
PrzemyslawKlys merged commit ecfab37 into master Oct 6, 2026
3 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the fix/output-stream branch October 6, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant