PowerShell module for Windows network tracing using netsh trace with automatic circular file rotation and background monitoring. Features include configurable file size limits, circular buffer management, non-blocking operation, optional activity logging, technical diagnostics, administrator privilege validation, and persistent capture support that continues after sys
PowerShell module for Windows network tracing using netsh trace with automatic circular file rotation and background monitoring. Features include configurable file size limits, circular buffer management, non-blocking operation, optional activity logging, technical diagnostics, administrator privilege validation, and persistent capture support that continues after system reboot.
Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info
Install-PSResource -Name NetTrace -Version 1.2.0
You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More
Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More
v1.2.0: Added persistence feature that enables network traces to continue after system reboot using native netsh trace persistent=yes parameter. New -Persistence parameter allows long-running captures that survive user session termination and system reboots. v1.1.1: Removed #Requires -RunAsAdministrator directive to allow module loading in non-admin sessions. Module now provides proper error message when run without admin privileges. Updated README with PowerShell Gallery installation instructions and admin privilege clarification. v1.1.0: Added optional logging functionality, fixed file counter accuracy, improved stop command reliability.