< Back

Write-Log

Sat Jan 18, 2020 9:43 am

NAME Write-Log



SYNTAX

Write-Log [-message] <string> [-isError] [-color <string>] [-loglevel <int>] [-LogPath <string>]

[<CommonParameters>]





PARAMETERS

-LogPath <string>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-color <string>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-isError



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-loglevel <int>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-message <string>



Required? true

Position? 1

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? 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

System.String





OUTPUTS

System.Object



ALIASES

None





REMARKS

None