From 3ba705ca9431d773a9384221085f1e2d71b63757 Mon Sep 17 00:00:00 2001 From: Karl Wester-Ebbinghaus <45657752+Karl-WE@users.noreply.github.com> Date: Sun, 29 Sep 2024 18:04:36 +0200 Subject: [PATCH] Update 1_Prereq.ps1 - updated diskspd Link mslab will download an outdated diskspd version, which is crucial being updated for scenarios like VMfleet. The latest 2.2 offers significant improvements. --- Scripts/1_Prereq.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/1_Prereq.ps1 b/Scripts/1_Prereq.ps1 index 87823565..a0a74fef 100644 --- a/Scripts/1_Prereq.ps1 +++ b/Scripts/1_Prereq.ps1 @@ -178,7 +178,7 @@ function Get-WindowsBuildNumber { $downloadurl = $webcontent.BaseResponse.ResponseUri.AbsoluteUri.Substring(0,$webcontent.BaseResponse.ResponseUri.AbsoluteUri.LastIndexOf('/'))+($webcontent.Links | where-object { $_.'data-url' -match '/Diskspd.*zip$' }|Select-Object -ExpandProperty "data-url") } #> - $downloadurl="https://github.com/microsoft/diskspd/releases/download/v2.1/DiskSpd.ZIP" + $downloadurl="https://github.com/microsoft/diskspd/releases/download/v2.2/DiskSpd.ZIP" Invoke-WebRequest -Uri $downloadurl -OutFile "$PSScriptRoot\Temp\ToolsVHD\DiskSpd\diskspd.zip" }catch{ WriteError "`t Failed to download Diskspd!"