PowerShell NetEventPacketCapture
PowerShell has an option available to capture network traffic. To view the list of available provider parameters, use the following command:
logman query providers
The Select-String cmdlet can be used to search within the list.
logman query providers | select-string smb
https://docs.microsoft.com/en-us/powershell/module/neteventpacketcapture/?view=win10-ps