Skip to content

Instantly share code, notes, and snippets.

@liger1978
Created March 4, 2016 09:53
Show Gist options
  • Save liger1978/debaa77edd2b59d30754 to your computer and use it in GitHub Desktop.
Save liger1978/debaa77edd2b59d30754 to your computer and use it in GitHub Desktop.
# Upgrades Powershell on Windows 7 to version 3.
(new-object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/E/7/6/E76850B8-DA6E-4FF5-8CCE-A24FC513FD16/Windows6.1-KB2506143-x64.msu',"${Env:TMP}\Windows6.1-KB2506143-x64.msu")
wusa "${Env:TMP}\Windows6.1-KB2506143-x64.msu"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment