This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| powershell.exe -Command "Set-WinHomeLocation -GeoId 221" | |
| ClipESUConsumer.exe -evaluateEligibility | |
| reg query "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\ConsumerESU" | |
| UsoClient.exe StartInteractiveScan | |
| pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Win10 ESU Year1 | |
| TSforge.exe /igpk f520e45e-7413-4a34-a497-d2765967d094 | |
| TSforge.exe /zcid f520e45e-7413-4a34-a497-d2765967d094 | |
| // Win10 ESU Year2 | |
| TSforge.exe /igpk 1043add5-23b1-4afb-9a0f-64343c8f3f8d | |
| TSforge.exe /zcid 1043add5-23b1-4afb-9a0f-64343c8f3f8d | |
| // Win10 ESU Year3 | |
| TSforge.exe /igpk 83d49986-add3-41d7-ba33-87c7bfb5c0fb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| Prerequisites: Window PowerShell v5.1 and PowerShell (Core), on all supported platforms. (May work in earlier versions.) | |
| License: MIT | |
| Author: Michael Klement <mklement0@gmail.com> | |
| DOWNLOAD and INSTANT DEFINITION OF THE FUNCTION: | |
| irm https://gist.github.com/mklement0/209a9506b8ba32246f95d1cc238d564d/raw/ConvertTo-BodyWithEncoding.ps1 | iex |