-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Make PowerShell able to enable logging of script block execution on Unix platforms #5791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
39af334
Enable logging on Linux through MshLog
daxian-dbw 3dd86f5
Refactor 'PropertyAccessor.cs'
daxian-dbw 263ec24
Rename 'PropertyScope' to 'ConfigScope'
daxian-dbw 6ab1ad7
Rename file PropertyAccessor.cs to PSConfiguration.cs
daxian-dbw 41c66db
Refactor GroupPolicy setting related code to use the configuration file
daxian-dbw 117e83a
Add xUnit tests for reading Policy settings from config file
daxian-dbw a6c62bf
[Feature] Minor changes to make ScriptBlock logging work with SysLog
daxian-dbw 167bbad
Address one of Dan's comments
daxian-dbw b4b864f
Re-enable group policy settings from registry
daxian-dbw 3b5badc
Rename 'PowerShellProperties.json' to 'powershell.config.json'
daxian-dbw 3b94173
[Feature] Change two methods to use 'private' modifier.
daxian-dbw 6ee608f
[Feature] Consider a policy is undefined if none of its properties ar…
daxian-dbw 01ecf4b
[Feature] Address Steve's new comments
daxian-dbw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Address one of Dan's comments
- Loading branch information
commit 167bbad1d116ac41c2396eddeea7ddfcb07d1da9
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need multiple return paths? Why not if (... == false) else if (... == true) and set status in both cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't change the original code, will update it to set
status
in both cases.