$url = 'https://software.download.prss.microsoft.com/dbazure/Win11_25H2_English_Arm64_v2.iso?t=d4576e55-692e-48d2-9fed-eaa2e173b5de&P1=1783356015&P2=602&P3=2&P4=xodJg8f55ONbSp7rcTMYQ7XCqe4sRi%2fvBTnMttLYGogof26ximbkVPH1AcGo4uC2lkFA9SLtNzw%2bSF2y70fjMZJDOitpvTLYZovDWjoxvl7qG10gorldh4EujtcKbVgwBswc0PQ4mw7X7Mnt4bCGzZL3Fo5iN9SZA8bch06kISLSuYQrrhNZw%2bvguRStHFL9I7qGSOfVlVdDLbPiDEpW2PX8l8FthpvdVhWCn3gZh72l3mApXWXyKAFra82WgpE79pvPky1bepT%2bnBd3fkmni6or1ZrOnfpac9sWMm3GeHdffxiRtUnT50O7CDN%2b26aF8154BD%2fT6BQgYbAN8B6aFw%3d%3d'
$dst = 'C:\Users\howar\Desktop\Win11_25H2_English_Arm64_v2.iso'
if (Test-Path $dst) { Remove-Item $dst -Force }
Get-BitsTransfer -Name 'Win11ARM64ISO' -AllUsers -ErrorAction SilentlyContinue | Remove-BitsTransfer
Import-Module BitsTransfer
$j = Start-BitsTransfer -Source $url -Destination $dst -Asynchronous -DisplayName 'Win11ARM64ISO' -Priority Foreground
Start-Sleep -Seconds 10
$j = Get-BitsTransfer -Name 'Win11ARM64ISO'
'state: ' + $j.JobState
'bytes: ' + $j.BytesTransferred + ' / ' + $j.BytesTotal
if ($j.JobState -eq 'Error') { $j.ErrorDescription }
