< Back

Write-TextLog

Mon Jan 13, 2020 7:16 am

NAME Write-TextLog



SYNOPSIS

Writes the tracelog to a text file.





SYNTAX

Write-TextLog [[-Message] <Object>] [[-LogFolderPath] <Object>] [[-LogName] <Object>] [[-StartTime] <Object>]

[<CommonParameters>]





DESCRIPTION

Writes the tracelog to a text file.

If the text file looks "weird" in notepad, it is becausenotepad cannot alway list the line breaks correctly.

Use another editor to view the log.





PARAMETERS

-Message <Object>



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LogFolderPath <Object>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LogName <Object>



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-StartTime <Object>



Required? false

Position? 4

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





RELATED LINKS