Installing PowerShell V3
As Windows Server 2008 R2 does not natively come with PowerShell V3, we will need to install it separately.
Launch VMWare Player.
Play SQL2012VM and login.
Copy the Windows Management Framework file from your host to your VM. If you have installed VMWare Tools, you should be able to either drag-and-drop or copy-and-paste the file from the host to the guest VM. At the time of writing, the filename was
Windows6.1-KB2506143-x64.msu
.Double-click on the executable file.
You will be prompted to confirm that you want to install this update. Click on Yes as shown in the following screenshot:
Agree to the license terms. Click on I Accept.
Wait for the installation to complete.
Restart your VM.
Confirm that PowerShell V3 is installed by launching the PowerShell console. Click on the console icon as shown in the following screenshot:
Type
$host.version
in the console and you should see the value 3 for the Major build, as shown in the following screenshot: