windows activation
This commit is contained in:
parent
534711b652
commit
3541fa1f01
1 changed files with 7 additions and 0 deletions
|
@ -175,6 +175,13 @@ ECHO WSL...
|
|||
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 ==
|
||||
PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
|
||||
PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
||||
|
|
Loading…
Reference in a new issue