< Back

Get-PSFLoggingProvider

Sun Jan 19, 2020 6:40 pm

NAME Get-PSFLoggingProvider



SYNOPSIS

Returns a list of the registered logging providers.





SYNTAX

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





DESCRIPTION

Returns a list of the registered logging providers.

Those are used to log messages to whatever system they are designed to log to.



PSFramework ships with a few default logging providers.

Custom logging destinations can be created by implementing your own, custom provider and registering it using

Register-PSFLoggingProvider.





PARAMETERS

-Name <String>

Default: '*'

The name to filter by



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-PSFLoggingProvider



Returns all logging provider









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



PS C:\\>Get-PSFLoggingProvider -Name filesystem



Returns the filesystem provider











RELATED LINKS