< Back

Get-PSFMessageLevelModifier

Sun Jan 19, 2020 6:40 pm

NAME Get-PSFMessageLevelModifier



SYNOPSIS

Returns all registered message level modifiers with similar name.





SYNTAX

Get-PSFMessageLevelModifier [[-Name] <String>] [<CommonParameters>]





DESCRIPTION

Returns all registered message level modifiers with similar name.



Message level modifiers are created using New-PSFMessageLevelModifier and allow dynamically modifying the actual

message level written by commands.





PARAMETERS

-Name <String>

Default: "*"

A name filter - only commands that are similar to the filter will be returned.



Required? false

Position? 1

Default value *

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PSFMessageLevelModifier



Returns all message level filters









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-PSFmessageLevelModifier -Name "mymodule.*"



Returns all message level filters that start with "mymodule."











RELATED LINKS