🩹 [Patch]: Add JSON logging for Host and PSStyle contexts#12
Merged
Marius Storhaug (MariusStorhaug) merged 4 commits intomainfrom Sep 20, 2025
Merged
🩹 [Patch]: Add JSON logging for Host and PSStyle contexts#12Marius Storhaug (MariusStorhaug) merged 4 commits intomainfrom
Marius Storhaug (MariusStorhaug) merged 4 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request enhances the PowerShell debugging script by adding JSON-formatted logging for Host and PSStyle contexts. The changes provide an alternative JSON representation of these objects alongside the existing Format-List output.
- Added JSON logging for the
$Hostobject with 10-level depth conversion - Added JSON logging for the
$PSStyleobject with 10-level depth conversion
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
446ebe8 to
466298d
Compare
317d784
into
main
17 of 19 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces several updates to automation and logging in the repository, focusing on dependency management and workflow maintenance, along with improvements to script documentation and output formatting.
Automation and Dependency Management
.github/dependabot.ymlconfiguration to enable weekly updates for GitHub Actions dependencies using Dependabot.Workflow Maintenance
Action-Test.yml,Auto-Release.yml, andLinter.yml) to useactions/checkout@v5for improved reliability and security. [1] [2] [3]Script Documentation and Output Improvements
Set-MaskedValuedocumentation withinscripts/Helpers.psm1to use generic token placeholders instead of actual token formats, enhancing security and clarity. [1] [2]scripts/main.ps1by adding new log groups that outputHostandPSStyleinformation in JSON format for easier parsing and debugging. [1] [2]Type of change
Checklist