Been working with Intune more and more lately and came across a neat way to upgrade Windows 7 In-Place to Windows 10 with a simple PowerShell script that you can push out or run as needed to get the job down to a few clicks and I wanted to share.
This script will also update Windows 10 to the latest Feature Update available if needed.

Step 1: Core upgrade EXE

Microsoft has been kind enough to provide you with a quick in place upgrade tool available via the download link below. This will quickly get you rolled into Windows 10 if those devices are capable or upgrade existing Windows 10 to the latest feature build.

https://go.microsoft.com/fwlink/?LinkID=799445

Running this EXE as administrator via cmd line with arguments is the key to a clean script without user prompts so this exe has 4 switches we will be using.
/quiteinstall
/skipeula
/auto upgrade
/copylogs

Step 2: Script

$d = “c:\win10exe”
mkdir $d
$ComObj = New-Object System.Net.WebClient
$exedl = “https://go.microsoft.com/fwlink/?LinkID=799445"
$exe = “$($d)\Win10Upgrade.exe”
$ComObj.DownloadFile($exedl,$exe)
Start-Process -FilePath $exe -ArgumentList “/quietinstall /skipeula /auto upgrade /copylogs $d”

Pretty simple script that gets the job down to a quickly repeatable process. Hope it helps in the coming months for those EOL upgrades.

2 Spice ups