Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build status PowerShell Gallery

AzSpeedTest

Overview

An Microsoft Azure speed test module for PowerShell. This module performs basic network latency tests to one or more Azure regions and returns the results.

Why Would You Care About Latency?

You can use this module to determine the closest (network-wise) Azure region to you. This information can be helpful in determinining where best to deploy your Azure resources.

Installation

The easiest and prefered way to install AzSpeedTest is via the PowerShell Gallery. To use the PowerShell Gallery, you must be on Windows 10, have PowerShell 5, or PowerShell 3 or 4 with the PowerShellGet module. See the PowerShell Gallery Getting Started page for more information. Run the following command to install AzSpeedTest.

C:\> Install-Module -Name AzSpeedTest -Repository PSGallery
C:\> Import-Module AzSpeedTest

Usage

Get the list of available Azure regions to test.

C:\> Get-AzRegion
australiaeast
australiasoutheast
brazilsouth
canadacentral
canadaeast
centralindia
centralus
eastasia
eastus
eastus2
francecentral
japaneast
japanwest
koreacentral
koreasouth
northcentralus
northeurope
southcentralus
southeastasia
southindia
uksouth
ukwest
westcentralus
westeurope
westindia
westus
westus2

Test the latency to the westus Azure region. Run 50 iterations and display the results.

C:\> $results = Test-AzRegionLatency -Region westus -Iterations 50
C:\> $results | Format-List
RawResults   : {@{Time=4/18/18 9:44:59 PM; Timespan=00:00:00.2962200; LatencyMS=296}, @{Time=4/18/18
               9:44:59 PM; Timespan=00:00:00.0344670; LatencyMS=34}, @{Time=4/18/18 9:45:00 PM;
               Timespan=00:00:00.0324620; LatencyMS=32}, @{Time=4/18/18 9:45:00 PM;
               Timespan=00:00:00.0346950; LatencyMS=34}...}
ComputerName : HDK38433FJ
TotalTime    : 00:00:02.1108190
Region       : westus
Maximum      : 296
Average      : 38.32
Minimum      : 31

About

Azure speed test tool for PowerShell

Topics

Resources

License

Releases

No releases published

Packages

No packages published