Windows 11 Upgrade Script?

Here is the generic powershell script that will download and run the windows 11 updater. The few machines I tried it on, I didnt have to deal with the update assistance


<#

This powershell script will download and run the Windows 11 Installation Assistant program from Microsoft. 

If the computer meets the requirements for the Windows 11 update, after the Installation Assistant runs the machine will
automatically reboot and load Windows 11. If  for some reason the machine does not meet all the requirements the script
will still download and run the Installation Assistant, which will still attempt the update but fail and reboot back
into Windows 10.

Microsoft requirements can be found here:  https://www.microsoft.com/en-US/windows/windows-11-specifications

#>

$WebClient = New-Object System.Net.WebClient

# URL to Windows 11 Update Assistant
$Win11UpgradeURL = "https://go.microsoft.com/fwlink/?linkid=2171764"
$UpgradePath = "$env:TEMP\Windows11InstallationAssistant.exe"
$WebClient.DownloadFile($Win11UpgradeURL, $UpgradePath)

Start-Process -FilePath $UpgradePath -ArgumentList "/Install  /MinimizeToTaskBar /QuietInstall /SkipEULA"

Heres what example on a test VM what it looked like when I ran the powershell code
win11