Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $dir = 'C:\temp\win11'
- mkdir $dir
- $webClient = New-Object System.Net.WebClient
- $url = 'https://go.microsoft.com/fwlink/?linkid=2171764'
- $file = "$($dir)\Windows11InstallationAssistant.exe"
- $webClient.DownloadFile($url,$file)
- Start-Process -FilePath $file -ArgumentList "/QuietInstall /SkipEULA /auto upgrade /dynamicupdate enable /copylogs $dir"
Advertisement
Add Comment
Please, Sign In to add comment