* The Microsoft servers now use session Id whitelisting, so add querying
of https://vlscppe.microsoft.com/tags with the session Id.
* Closes#52.
* Also harmonize/improve -replace calls
* Also make sure we use POST for the getskuinformationbyproductedition
query (in case Microsoft add some more countermeasures).
* Also drop 'cmd /c' invocation in sign.sh since the cygwin people can't
seem to get their act together there...
* "How many Microsoft engineers does it take to release the ISO of a light bulb?"
* This addresses #45 by restoring a working Windows 11 22H2 download, though it
remains to be seen if the ISO for 22H2 v0 will be accessible ever again...
* Per #41 Microsoft appear to have altered their website to make it hostile to our script.
* Considering that trying to troubleshoot this is likely to take a long while, and that I
sure could use some help with it, add a notice about this whole mess...
* Won't help though, since Microsoft forcibly removed the ability to
parse HTML in newer PowerShell, which we need...
* Also fix session variable not being set.
* Closes#19
* Some locales (e.g. Russian) will return something like "Windows 10"
for the product name which threw our JSON conversion off
* Also fix a typo
* Closes#12
* Also remove downloads that don't appear to work such as COEM and Windows 8 LE
* Also ensure that error messages from Microsoft's response are used on error
and are properly translated to UTF-8
* .Contains() cannot be used with PowerShell 2.0 (Win7 default), which prevents
the prompt that asks users to install PowerShell 3.0 from being displayed...
* Fix LTR display of Windows Releases for RTL languages.
* $env:PROCESSOR_ARCHITECTURE reports the architecture of the PowerShell runtime
rather than the one from the OS, meaning that when executed in 32-bit mode on
a 64-bit system (like with Rufus) it will report X86 instead of AMD64.
Use [Environment]::Is64BitOperatingSystem instead.
* Closes#5
* Fix XML conversion error when localized language data contains escaped characters
* Fix connection error when requested locale is not handled by Microsoft's servers
* Also simplify Arch detection and return codes
* Closes#2
* Closes#3
* Add a notice about PowerShell 3.0 being required.
* Enable script to run on platforms without Microsoft.mshtml assembly.
* Add a -DisableFirstRunCustomize option to prevent an exception when
the script is run on a platform where IE has never been launched.
* Also display a notice about Microsoft anti bulk download
* For ye who might be looking for this important piece of information:
In System.Windows.Windows, the equivalent of System.Windows.Forms.Add_Shown()
is System.Windows.Windows.Add_Loaded(). You can thank me later...