Add WinUpgrayeddUpdateAssistant.ps1
This commit is contained in:
parent
02fa972477
commit
fefb2c61e7
17
WinUpgrayeddUpdateAssistant.ps1
Normal file
17
WinUpgrayeddUpdateAssistant.ps1
Normal file
|
@ -0,0 +1,17 @@
|
|||
#A better version lives here
|
||||
#https://github.com/AveYo/MediaCreationTool.bat
|
||||
#but this one is mine
|
||||
|
||||
|
||||
#make our working directory if it ain't there
|
||||
$programData = $env:PROGRAMDATA
|
||||
$workDir = "$programData\UG\temp"
|
||||
if(!(test-path -PathType container $workDir))
|
||||
{
|
||||
New-Item -ItemType Directory -Path $workDir
|
||||
}
|
||||
|
||||
#download the update Assistant
|
||||
Start-BitsTransfer -Source "https://go.microsoft.com/fwlink/?linkid=2171764" -Destination $workDir\updateAssistant.exe
|
||||
|
||||
|
Loading…
Reference in a new issue