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




below are couple of related articles which will help you.

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: Getting Started with PowerShell 3.0 | Microsoft Docs