Tag Archives: capture

Windows: Capture a network trace with builtin tools (netsh)

Hi,

Windows Event tracing also supports the capturing of network traffic which can be reed by Wireshark, Microsoft Network Monitor or the Microsoft Message Analyzer.

Continue reading Windows: Capture a network trace with builtin tools (netsh)

Advertisment to support michlstechblog.info

Powershell: Execute a process and capture STDOUT and STDERR

Hi,

if have to execute a process or script from powershell and you have to capture the output you can use the System.Diagnostics.Process class.

I’ve written a simple function for this case 🙂

Continue reading Powershell: Execute a process and capture STDOUT and STDERR

ESXi: Capture Network packets on a vSwitch port or on a VM’s NIC

Hi,


ESXi offers some extented methods to capture network packets. Here are some examples.

First of all logon to your ESXi host by ssh.

To capture all traffic on a vmkernel interface use tcpdump-uw.
List all vmkernel interfaces


~ # esxcfg-vmknic -l
Interface  
vmk0    .....   
vmk1    .....   

Continue reading ESXi: Capture Network packets on a vSwitch port or on a VM’s NIC