Network Assessment Tool Plus

Microsoft released the Microsoft Network Assessment Tool for doing a basic check of connection quality to Skype for Business Online / Teams / O365. Take this tool to the next level with PowerShell and PowerBI. Transform the data into a rich connectivity summary dashboard.

 
 
 
 
 
5 Star
(3)
1,759 times
Add to favorites
Office 365
9/7/2017
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • ZIP-file not working anymore
    2 Posts | Last post July 10, 2019
    • Hello.
      This download is not working anymore, as the zip-file defined in the script as $CurrentToolExactURL = "https://download.microsoft.com/download/D/D/6/DD65CA90-94CF-4B10-88A2-67432D8EB78F/network-assessment-lib-6.0.8969.164.zip" doesn't exists anymore.
      
      I've been able to work around it, manually downloading the Network Assessment Tool, putting the installed files in the same folder (C:\Network Assessment Tool Plus) and editing the script to be compatible with the new version of the
      the Network Assessment Tool for Skype.
      
      It can be found here:
      https://ufile.io/1bq98
      
      https://ufile.io/1bq98
    • In the Powershell script, I had to update two sections of the script to make it work because Microsoft changed the location of the downloads and the names of some of the DLLs.  The first section I changed was this:
      $Currentpath = Get-Location
      $CurrentToolZip = "Network Assessment Tool Plus V1.zip"
      $CurrentToolSite = "https://www.microsoft.com/en-us/download/confirmation.aspx?id=53885"
      $CurrentToolExactURL = "https://download.microsoft.com/download/D/D/6/DD65CA90-94CF-4B10-88A2-67432D8EB78F/MicrosoftSkypeForBusinessNetworkAssessmentTool.exe"
      $ComputerName = $env:COMPUTERNAME
      $AllResultsFile = "NetworkTest_$($ComputerName)_Results.tsv"
      $SecondsWaitBetweenTests = 1
      
      function check-files {
          $FilesMissing = $false
          $criticalfiles = "NetworkAssessmentMediaLibApi.dll","NetworkAssessmentLib.dll","NetworkAssessmentTool.exe","ResultsAnalyzer.exe","skypert.dll","RtmCodecs.dll","RtmPal.dll","Tone.wav"
      
      The second section I had to change was to send it to my c:\temp folder:
      
       $Results = $null
          $Results = Get-Content "C:\temp\performance_results.tsv"
       
          #check for valid result
          if($Results[1] -ne "a"){
              #Write latest results to the All Results File
              $Results[1] | Out-File $AllResultsFile -Append
          } else {
              write-host "No results found, please check output" -ForegroundColor Red
          }
       
          #Remove the Results file
          Remove-Item "C:\temp\performance_results.tsv"
      
      Then in the C:\Program Files (x86)\Microsoft Skype for Business Network Assessment Tool\NetworkAssessmentTool.exe.config
      
      I had to change this section to send the results file to the Temp folder:
         <add key="NumIterations" value="1"/>
            <add key="ResultsFilePath" value="c:\temp\performance_results.tsv"/>
            <add key="Delimiter" value="	"/>
            <add key="IntervalInSeconds" value="5"/>
            <add key="OutputFilePath" value="c:\temp\connectivity_results.txt"/>
      
      Hope this helps.
      Traci
  • Error Runing the Tool
    2 Posts | Last post January 16, 2019
    • Hello,
      i had the following error trying to run this tool . Kindly help
      
      Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
      At C:\New folder\Network Assessment Tool Plus V1\Network Assessment Tool
      Plus\Network_Assessment_Plus_Looping_Script_V3.ps1:39 char:73
      + ... nloadFile($CurrentToolExactURL, "$($Currentpath)\$($CurrentToolZip)")
      +                                                        ~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
          + FullyQualifiedErrorId : WebException
      
      Unblock-File : Cannot find path 'C:\New folder\Network Assessment Tool Plus V1\Network Assessment Tool
      Plus\network-assessment-lib-6.0.8969.164.zip' because it does not exist.
      At C:\New folder\Network Assessment Tool Plus V1\Network Assessment Tool
      Plus\Network_Assessment_Plus_Looping_Script_V3.ps1:42 char:5
      +     Unblock-File -Path $CurrentToolZip
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (network-assessment-lib-6.0.8969.164.zip:String) [Unblock-File], ItemNot
         FoundException
          + FullyQualifiedErrorId : FileNotFound,Microsoft.PowerShell.Commands.UnblockFileCommand
      
      Expand-Archive : The path 'network-assessment-lib-6.0.8969.164.zip' either does not exist or is not a valid file
      system path.
      At C:\New folder\Network Assessment Tool Plus V1\Network Assessment Tool
      Plus\Network_Assessment_Plus_Looping_Script_V3.ps1:46 char:9
      +         Expand-Archive -Path $CurrentToolZip -DestinationPath $Curren ...
      +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidArgument: (network-assessment-lib-6.0.8969.164.zip:String) [Expand-Archive], Inva
         lidOperationException
          + FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive
      
      Unable to locate tool or ZIP, please download from  https://www.microsoft.com/en-us/download/details.aspx?id=53885
    • Hello.
      Late reply, but please see my post.
  • Scripts not working
    2 Posts | Last post January 16, 2019
    • I am still having issue generating the data. I have tried downloadin the Network Assessment tools seperatly and run the powershell script. But getting following error:
      
      Starting Test number:  2
      Get-Content : Cannot find path 'C:\Users\Fakrul\Desktop\NetworkToolPlus\results.tsv' because it does not exist.
      At C:\Users\Fakrul\Desktop\NetworkToolPlus\Network_Assessment_Plus_Looping_Script_V3.ps1:94 char:16
      +     $Results = Get-Content .\results.tsv
      +                ~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\Users\Fakrul...lus\results.tsv:String) [Get-Content], ItemNotFoundEx
         ception
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
      
      Cannot index into a null array.
      At C:\Users\Fakrul\Desktop\NetworkToolPlus\Network_Assessment_Plus_Looping_Script_V3.ps1:97 char:8
      +     if($Results[1] -ne "a"){
      +        ~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
          + FullyQualifiedErrorId : NullArray
      
      Remove-Item : Cannot find path 'C:\Users\Fakrul\Desktop\NetworkToolPlus\results.tsv' because it does not exist.
      At C:\Users\Fakrul\Desktop\NetworkToolPlus\Network_Assessment_Plus_Looping_Script_V3.ps1:105 char:5
      +     Remove-Item .\results.tsv
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\Users\Fakrul...lus\results.tsv:String) [Remove-Item], ItemNotFoundEx
         ception
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
      
      Is there any workable/updated script available?
    • Hello.
      Late reply, but please see my post.
  • Script Issues
    2 Posts | Last post January 16, 2019
    • Hello,
      I have tried the script on two different machines and get the same result.  I have tried downloading the assessment tool manually but I still receive errors.  Is there an update available or any guidance you can give me.  This is the result running it from scratch.
      
      Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
      At C:\Users\Kinjal\Desktop\Network Tool\Network_Assessment_Plus_Looping_Script_V3.ps1:39 char:73
      +         $DLClient.DownloadFile($CurrentToolExactURL, "$($Currentpath)\$($Current ...
      +                                                                         ~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
          + FullyQualifiedErrorId : WebException
      
      Unblock-File : Cannot find path 'C:\Users\Kinjal\Desktop\Network Tool\network-assessment-lib-6.0.8969.164.zip' because
      it does not exist.
      At C:\Users\Kinjal\Desktop\Network Tool\Network_Assessment_Plus_Looping_Script_V3.ps1:42 char:5
      +     Unblock-File -Path $CurrentToolZip
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (network-assessment-lib-6.0.8969.164.zip:String) [Unblock-File], ItemNot
         FoundException
          + FullyQualifiedErrorId : FileNotFound,Microsoft.PowerShell.Commands.UnblockFileCommand
      
      
    • Hello.
      Late reply, but please see my post.
  • Up to date?
    2 Posts | Last post March 12, 2018
    • I was playing with this but when I run networktest.ps1...nothing happens. 
    • Hi,
      There is an update pending as MS updated the tool to be an MSI installer - then that version unfortunatly looks like it has an issue with generating data. They updated things today and have hopefully fixed it all so I'll be releasing an updated version of my script soon.
  • Network_Assessment_Plus_PowerBI_v2.pbix is corrupted
    1 Posts | Last post December 06, 2017
    • Hi Bibbleq,
      
      I am not able to open PowerBI file. Can you please attach it again?
      
      Best regards,
      Arash