As Windows Server 2012 R2 does not natively come with PowerShell V5, at the time of the writing this book, we will need to install it separately.
Launch VMWare Player.
Play SQL2014VM, and log in.
Download and install the Windows Management Framework 5. This will install PowerShell V5, including the PowerShell V5 ISE (Integrated Scripting Environment). At the time of writing this book, this framework can be downloaded from https://www.microsoft.com/en-us/download/details.aspx?id=46889 and the binary is WindwosBlue-KB3055381-x64.msu.
After the installation is complete, restart your VM.
Confirm that PowerShell V5 is installed by launching the PowerShell console. Type
$host.version
in the console, and you will see the value 5 for the Major build, as shown in the following screenshot: