[Powershell] Netstat

Télécharger:

https://gallery.technet.microsoft.com/scriptcenter/Get-NetworkStatistics-66057d71

 

PS C:\Users\Administrator> cd C:\test
PS C:\test> . .\Get-NetworkStatistics.ps1

PS C:\test> Get-NetworkStatistics -computername localhost | Format-Table -autosize

PS C:\test> Get-NetworkStatistics -computername localhost | ConvertTo-Csv > c:\test\netstat.txt

Was this article helpful?

Leave A Comment?

You must be logged in to post a comment.