Fév 242019
An interesting article about how to perform a network capture when no tools are installed locally.
Here.
In short, example :
1-netsh trace start capture=yes Ethernet.Type=IPv4 IPv4.Address=157.59.136.1
2-netsh trace stop
3-get your capture in %userprofile%\AppData\Local\Temp\NetTraces\NetTrace.etl
-open with Microsoft’s Message Analyzer app
or
-convert it with
$s = New-PefTraceSession -Path “C:\output\path\spec\OutFile.Cap” -SaveOnStop
$s | Add-PefMessageProvider -Provider “C:\input\path\spec\Input.etl”
$s | Start-PefTraceSession