# Windows 11 Upgrade Script?

**URL:** <https://community.syncromsp.com/t/windows-11-upgrade-script/2846>\
**Category:** Staff Picks\
**Tags:** staff-picks\
**Created:** [January 27, 2022, 4:33pm UTC](https://community.syncromsp.com/t/windows-11-upgrade-script/2846 "2022-01-27T16:33:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jimmie](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jimmie](https://community.syncromsp.com/u/Jimmie)\
**Post date:** [January 27, 2022, 5:12pm UTC](https://community.syncromsp.com/t/windows-11-upgrade-script/2846/3 "2022-01-27T17:12:25Z")

</div>

This is the one I use for 10, changed the URL for 11. Use at your own risk 🙂

```auto
$workingdir = "c:\temp"
$url = "https://go.microsoft.com/fwlink/?linkid=2171764"
$file = "$($workingdir)\Win11Upgrade.exe"

If(!(test-path $workingdir))
{
New-Item -ItemType Directory -Force -Path $workingdir
}

Invoke-WebRequest -Uri $url -OutFile $file

Start-Process -FilePath $file -ArgumentList "/quietinstall /skipeula /auto upgrade /copylogs $workingdir"
```

---

_[View the full topic](https://community.syncromsp.com/t/windows-11-upgrade-script/2846)._
