For years, Microsoft has been allowing legal free Windows (including Windows 10) virtual machine image downloads. You can do almost anything you want with them, but the caveat is the image is only good for 90 days. You can quickly do your setup, take a snapshot, and revert every 90 days, or setup a fresh VM image every 90 days.
This VM includes the latest PowerShell, so you can test Scoop.
This example is targeted for VirtualBox on Linux host PC, but many other combinations are possible.
- Download Windows VM
unzip MSEdge.Win10*.zipwhich creates an
.ovafile if you picked VirtualBox
- import image into your virtual machine software e.g. VirtualBox.
- VirtualBox: check “Reinitialize the MAC address of all network cards”
- Take a snapshot BEFORE first starting the VM to avoid having to repeat the previous three steps after 90 days. You will lose all your subsequent Windows programs/setup every 90 days.