Skip to content

The ProvideVerboseMessage rule should be limited to functions that support ShouldProcess #181

Closed
@imfrancisd

Description

@imfrancisd

A lot of functions don't need verbose messages, and having them output verbose messages will just create noise.

PowerShell itself has many cmdlets that don't write verbose messages, such as ForEach-Object, Test-Path, Get-ChildItem, etc.

I think that the $VerbosePreference variable will become useless if everyone followed this rule the way it is now because of all the noise that will be generated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions