dbatools is a free PowerShell module with over 180 SQL Server administration, best practice and migration commands included.


Get-DbaNetworkActivity

Gets the Current traffic on every Network Interface on a computer.

Requires Local Admin rights on destination computer(s).

Screenshots

Examples

Gets the Current traffic on every Network Interface on computer sqlserver2014a.

Get-DbaNetworkActivity -ComputerName sqlserver2014a

Gets the Current traffic on every Network Interface on computers sql1, sql2 and sql3.

‘sql1′,’sql2′,’sql3’ | Get-DbaNetworkActivity

Gets the Current traffic on every Network Interface on computers sql1 and sql2, and shows them in a grid view.

Get-DbaNetworkActivity -ComputerName sql1,sql2 | Out-Gridview

Author

This command was created by Klaas Vandenberghe. You can find Klaas on Twitter and his blog.

Get-Help

From PowerShell, execute Get-Help Get-DbaNetworkActivity -Detailed for more information on this function.

Source Code

Want to see the source code? View Get-DbaNetworkActivity.ps1 on GitHub
 

Related commands