How to measure network performance using PowerShell and iPerf


iPerf is a tool that allows administrators to set and monitor network performance on the system, and with Windows 10 we can now measure network performance using PowerShell through a command that includes iPerf in there.


iPerf is a tool that uses old parameters, runs EXE, and To be able to use iPerf we have to measure network performance using PowerShell. However, to link Powershell with iPerf we will have to go through a few basic steps. In the following article, Taimienphi.vn will be for those who like discovering about computer systems.

Guide to measuring network performance using PowerShell

Step 1: The first work to do is press StartMenu up then type Powershell And remember to open this tool with admin rights.

How to perform using powershell and iperf 2

As soon as the Powershell interface pops up, wait for a quick typing because we need to download a library of Powershell to be able to use iPerf.

How to perform using powershell and iperf 3

Step 2: As mentioned, to measure network performance using PowerShell with iPerf we need a library in PowerShell Gallery, to install this library you need to enter the following command:

Install-Module -Name iPerfAutomate

how to perform using powershell and iperf 4

In case the system requires you to confirm the installation of this library repository, please type Y then press Enter to agree.

how to perform using powershell and iperf 5

Continue you type Y or A then press Enter to confirm the final step before installing the library repository Install-Module -Name iPerfAutomate into Powershell.

How to perform using powershell and iperf 6

Step 3: After installing PowerShell Gallery, you can now measure network performance using PowerShell. To find out what the command has in PowerShell Gallery just installed, use:

PS C:> Get-Command -Module iPerfAutomate

How to perform using powershell and iperf 7

You will find there are 2 commands, but they are very useful and do a lot of work

New-IperfSchedule

Start-IPerfMonitorTest

Step 4: To be able to measure network performance using PowerShell a server or a certain site, you need to provide two parameters: FromServerName and ToServerName with the following command:

Start-iPerfMonitorTest -FromServerName SQLSRV1 -ToServerName WEBSRV1

With SQLSRV1 and WEBSRV1 is the server name as well as the web name.

How to perform using powershell and iperf 8

Step 5: In case you want to test web pages, you can map the hostname to a website and run the following code:

Start-iPerfMonitorTest -FromSite Main -ToSite Vegas

how to perform using powershell and iperf 9

Despite the basic commands, users can completely measure network performance using PowerShell with iPerf. Check specifically for network related issues.

The use of Powershell is not only possible, but also used by applications to enable many computer functions. Compared to the Command Prompt, Powershell is much more powerful and handy, users can refer Difference between Command Prompt and Powershell In the article below to better understand.

https://thuthuat.taimienphi.vn/cach-do-hieu-suat-mang-su-dung-powershell-va-iperf-37992n.aspx
Also in the article you have found that one way to open Powershell is to search on StartMenu, which is just one of many ways to open Powershell on Windows 10. If you want to know more, access and see the ways Open Powershell in Windows 10 Collected by Taimienphi.vn.

.

Add a Comment

Your email address will not be published. Required fields are marked *