Skip to content

Instantly share code, notes, and snippets.

@alexrgreenwood
alexrgreenwood / setupPSUbeta.ps1
Created June 25, 2024 11:26
Download and launch latest PSU 5 beta
$zipname = 'universal_auto.zip'
$foldername = 'UniversalApp'
$data_url = 'https://imsreleases.blob.core.windows.net/universal-nightly?restype=container&comp=list'
$do_download = $false #move this down if you have the latest zip downloaded in this directory already
$do_download = $true
if ($do_download -eq $true){
[xml]$Builds = (Invoke-WebRequest $data_url).Content.Substring(1)
$Latest = $Builds.EnumerationResults.Blobs.Blob |
Where-Object {$_.Name -like "*Universal.win-x64.5.0.0-beta*" -and $_.Name -like "*.zip"} |