Getting started with PowerShell in Windows 7 SP1

Since we need PowerShell to do this quick little upgrade, and PowerShell comes baked into any version of Windows since Windows 7 SP1, make sure you’ve upgraded the operating system at least that far. In other words, just run Windows Update and install whatever it wants you to install (if anything).

Once you’re ready to begin, click on the Start button, type in Powershell, right-click on “Windows Powershell,” and select “Run as Administrator.”

As a security measure, PowerShell is set to not run scripts by default until you change a certain registry key. To do that, type this into Powershell and hit Enter when you’re done:

Set-ExecutionPolicy Unrestricted

You can close PowerShell now. Yes, that’s right.
The Ultimate Guide to Reinstalling Windows From Scratch

There comes a time in every Windows user’s life when things start to feel slower. Perhaps you’ve…
Read more
Typing up your installation script

On your desktop, open up a new text file and copy and paste the following (courtesy of the incredibly helpful /r/PowerShell subreddit):

$dir = “c:\temp”

mkdir $dir

$webClient = New-Object System.Net.WebClient

$url = “"

$file = “$($dir)\Win10Upgrade.exe”


Start-Process -FilePath $file -ArgumentList “/quietinstall /skipeula /auto upgrade /copylogs $dir” 

Feel free to delete the extra blank spaces between the lines, too. Once you’ve done this, close Notepad and save your file with whatever name you want, but change its extension to .PS1 (from .TXT).
If You Can’t Upgrade From Windows 7 to Windows 10, What Should You Do?

While I always recommend upgrading to the latest and greatest version of whatever software you’re…
Read more
Starting your unattended upgrade

Right-click on your new .PS1 file and select “Run with PowerShell.” You’ll probably have to confirm at least one prompt, allowing “Microsoft Windows” to make changes to your computer, but that’s it. A PowerShell window will briefly appear and disappear, and then you won’t see anything else for some time


Windows 7 Upgrade