< Back

Convert-Log2ConverterObject

Sat Jan 18, 2020 9:49 am

NAME Convert-Log2ConverterObject



SYNOPSIS





SYNTAX

Convert-Log2ConverterObject [[-LogFile] <Object>] [[-ChartIndex] <Object>] [-LogType] <String> [<CommonParameters>]





DESCRIPTION

This module give tools to generate a raw object that can be used by external modules to help generate html based

report.



Following log types can be converted to html based log report:

Iperf:

[ 5] 7.00-8.00 sec 7.47 MBytes 62.6 Mbits/sec

[ 5] 8.00-9.00 sec 7.17 MBytes 60.2 Mbits/sec

Linux:

64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=16.0 ms

64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=14.8 ms

Windows:

Reply from 8.8.8.8: bytes=32 time=48ms TTL=45

Reply from 8.8.8.8: bytes=32 time=47ms TTL=45

WindowsWithDate:

07.07.2017-15:16:57> Reply from 8.8.8.8: bytes=32 time=48ms TTL=45

07.07.2017-15:16:58> Reply from 8.8.8.8: bytes=32 time=47ms TTL=45





PARAMETERS

-LogFile <Object>

Defines the input log file



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ChartIndex <Object>

Defines the ChartIndex in case if more than one chart will be generated.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LogType <String>

Four type of log can be accapted: Iperf, Linux, Windows and WindowsWithDate



Required? true

Position? 3

Default value Windows

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:\\>Convert-Log2ConverterObject -LogFile $file -ChartIndex 1 -LogType Linux















RELATED LINKS