Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#
- Upgrading existing Windows PowerShell : https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell?view=powershell-6
- env:TEMP=%tmp%
- O/P : http://pix.toile-libre.org/upload/original/1539475216.png
- #>
- #RunAdmin:
- $Path = $env:TEMP; $Installer ="Windows6.1-KB2819745-x64-MultiPkg.msu"; Invoke-WebRequest -Uri "https://download.microsoft.com/download/3/D/6/3D61D262-8549-4769-A660-230B67E15B25/Windows6.1-KB2819745-x64-MultiPkg.msu" -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Wait; Remove-Item -Path $Path\$Installer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement