Skip to content

Feature request: Add -VerboseVariable and -DebugVariable common paramaters #6702

@markekraus

Description

@markekraus

I have often run into the need to capture output from Write-Verbose and Write-Debug. I know that it can currently be done by using subexpressions and output redirection. Those methods are not quite as user friendly as -OutVariable, -InformationVariable, -ErrorVaraiable, and -WarningVariable. I'm sure there was a good reason for not including -DebugVariable and -VerboseVariable, but I'm curious if these could be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreWG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions