As diagnostic tools such as Netsh trace, Tracelog.exe, and Logman.exe are not available in Nano Server, you must use Windows PowerShell Network Event Packet Capture Cmdlets to gather network traces.
After setting up a remote PowerShell session there are six basic steps required to perform a network trace:
- Add a new network event session with New-NetEventSession
- Add a network event provider to the session with New-NetEventPacketCaptureProvider (see note below)
- Start the session with Start-NetEventSession
- Get information about the session with Get-NetEventSession
- Stop the network event session with Stop-NetEventSession
- Remove the network event session with Remove-NetEventSession
Note - The Add-NetEventProvider can also be used when taking a local event capture, however, the New-NetEventPacketCaptureProvider command adds the options for a Remote Capture provider.
See the following resources for more information and examples on the use of PowerShell Network Event Cmdlets: