windows activation

This commit is contained in:
Mylloon 2024-04-29 13:23:08 +02:00
parent 534711b652
commit 3541fa1f01
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -175,6 +175,13 @@ ECHO WSL...
wsl --install --no-distribution wsl --install --no-distribution
:: === Activate Windows ==
:: TODO: Fix command, see https://massgrave.dev/command_line_switches#uses-in-powershell-one-liner
:: PowerShell -Command "" ^
:: "& ([ScriptBlock]::Create((irm https://mass grave.dev/get)))" ^
:: "/HWID"
:: === Modules for Windows Update == :: === Modules for Windows Update ==
PowerShell -Command "Install-PackageProvider -Name NuGet -Force" PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force" PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"