Script to Capture Network System Activity

I am a college student trying to do a project.

My professor was asking my team to come up with some way detect for hidden threats. So he told us to find a powershell script that we could use to capture network system activity. Is there some tool, script, and/or tutorial in order to be able to do this? I have almost no experience with Powershell.

Powershell Version is 5.1.17763.1

 

 

great,

below are couple of related articles which will help you.

https://devblogs.microsoft.com/scripting/gathering-network-statistics-with-powershell/

https://www.tenforums.com/network-sharing/104299-capture-network-usage-command-line-powershell.html

https://devops-collective-inc.gitbook.io/windows-powershell-networking-guide/getting-network-statistics

But it will be difficult for you to start without have a basic understanding on PowerShell. I suggest you to take little time to understand it.
Below resources will help you there.

Ever valid course: https://channel9.msdn.com/Series/GetStartedPowerShell3

https://github.com/vexx32/PSKoans