Open up PowerShell
Change to working directory (for example R:)
Download the DietPi image:
wget https://dietpi.com/downloads/images/DietPi_RPi-ARMv6-Buster.7z -OutFile DietPi_RPi-ARMv6-Buster.7z
For faster download speed:
(New-Object System.Net.WebClient).DownloadFile("https://dietpi.com/downloads/images/DietPi_RPi-ARMv6-Buster.7z","DietPi_RPi-ARMv6-Buster.7z")
Even more fast download:
Import-Module BitsTransfer
Start-BitsTransfer -Source "https://dietpi.com/downloads/images/DietPi_RPi-ARMv6-Buster.7z" -Destination "DietPi_RPi-ARMv6-Buster.7z"
with Expand-Archive 7-Zip
expand-archive -path "DietPi_RPi-ARMv6-Stretch.zip"
Use 7-Zip Portable from https://portableapps.com/
C:\PortableApps\7-ZipPortable\App\7-Zip64\7z.exe x "DietPi_RPi-ARMv6-Stretch.7z"
.\dd.exe if=DietPi_RPi-ARMv6-Stretch.img of=\\?\Device\Harddisk3\Partition0 --progress