Invoke-PSTrace is a Powershell function to perform local and remote event traces for network troubleshooting purposes
Requirements: Windows 8/12 and up on both server and client computers
Invoke-PSTrace uses primarily the NetEventPacketCapture PS module.