-
Notifications
You must be signed in to change notification settings - Fork 8.4k
$PSStyle.Formatting.Information #16932
Copy link
Copy link
Open
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugKeepOpenThe bot will ignore these and not auto-closeThe bot will ignore these and not auto-closeUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Engine-Format
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugKeepOpenThe bot will ignore these and not auto-closeThe bot will ignore these and not auto-closeUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Engine-Format
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary of the new feature / enhancement
The
$PSStylevariable allows us to set the color of most output streams, which only excludesProgress,Information, andOutput. During development, I tend to set$global:DebugPreference = $global:VerbosePreference = $global:InformationPreference = 'Continue'. To distinguish from output I would like to be able to set a different default color for theInformationstream, as otherwise it shows up in the console amongst any output that is being returned by an invocation and I visually perceive it as a string that leaked out of my function.Proposed technical implementation details (optional)
No response