< Back
Get-LoggingTarget
Post
NAME Get-LoggingTarget
SYNOPSIS
Returns enabled logging targets
SYNTAX
Get-LoggingTarget [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
This function returns enabled logging targtes
PARAMETERS
-Name <String>
The Name of the target to retrieve, if not passed all configured targets 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-LoggingTarget
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-LoggingTarget -Name Console
RELATED LINKS
https://logging.readthedocs.io/en/lates ... gTarget.md
https://logging.readthedocs.io/en/lates ... ite-Log.md
https://github.com/EsOsO/Logging/blob/m ... Target.ps1
SYNOPSIS
Returns enabled logging targets
SYNTAX
Get-LoggingTarget [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
This function returns enabled logging targtes
PARAMETERS
-Name <String>
The Name of the target to retrieve, if not passed all configured targets 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-LoggingTarget
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-LoggingTarget -Name Console
RELATED LINKS
https://logging.readthedocs.io/en/lates ... gTarget.md
https://logging.readthedocs.io/en/lates ... ite-Log.md
https://github.com/EsOsO/Logging/blob/m ... Target.ps1