Skip to content

Write-Message does not respect $WarningActionPreference or $ErrorActionPreferenceΒ #136

@SQLDBAWithABeard

Description

@SQLDBAWithABeard

Problem description

Because Write-Message has been implemented using Write-Host it does not respect the default PowerShell variables $WarningActionPreference or $ErrorActionPreference

I know that there is #84 for updating the logging. Adding this issue so that users can find it.

Verbose logs

None needed

Module Version

pre-release

Suggested solution

Implement PsFramework for logging as per #84

Metadata

Metadata

Assignees

Labels

defectFlaw or imperfection, affecting functionality, but a function can be used

Type

No type

Projects

Status

βœ… Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions