< Back

Set-LoggingSource

Tue Jan 14, 2020 3:25 am

NAME Set-LoggingSource



SYNOPSIS

Sets the LoggingSource variable.





SYNTAX

Set-LoggingSource [-LoggingSource] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

The Set-LoggingSource sets the LoggingSource variable as described in the module Settings.json.





PARAMETERS

-LoggingSource <String>

Specifies the value for the LoggingSource variable.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

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:\\>Set-LoggingSource 'My Cool Script'















RELATED LINKS