Windows Core: Install PowerShell 3.0 by using PowerShell 2.0

Run the script below in the PowerShell 2.0 on your Windows Core

(new-object System.Net.WebClient).DownloadFile('http://download.microsoft.com/download/3/6/1/361DAE4E-E5B9-4824-B47F-6421A6C59227/dotNetFx40_Full_x86_x64_SC.exe', 'c:\dotNetFx40_Full_x86_x64_SC.exe')
.\dotNetFx40_Full_x86_x64_SC.exe
(new-object System.Net.WebClient).DownloadFile('http://download.microsoft.com/download/E/7/6/E76850B8-DA6E-4FF5-8CCE-A24FC513FD16/Windows6.1-KB2506143-x64.msu', 'c:\Windows6.1-KB2506143-x64.msu')
.\Windows6.1-KB2506143-x64.msu

It is not unattended installation. You will be prompted several times to click Next.
net45
net45

Advertisements

One thought on “Windows Core: Install PowerShell 3.0 by using PowerShell 2.0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s