Add WinUpgrayeddMediaCreation.ps1
got the download, turns out the iso creation bit is fucked, thanks ms
This commit is contained in:
parent
1a64136a1f
commit
02fa972477
17
WinUpgrayeddMediaCreation.ps1
Normal file
17
WinUpgrayeddMediaCreation.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 media creation tool
|
||||
Start-BitsTransfer -Source "https://go.microsoft.com/fwlink/?linkid=2156295" -Destination $workDir\mediaCreationTool.exe
|
||||
|
||||
|
Loading…
Reference in a new issue