September, 2016 - PowerCram Blog

Install PowerShell v5 on Windows Server 2008 R2 or 2012 R2

Prior to updating to PowerShell version 5 make sure to be running the latest version of .NET Framework (.NET 4.6.1 as of this writing). See Checking .NET Versions. Check Current Version of PowerShellRun either $Host.Version or $PSVersionTable.PSVersionInstall latest version of .NET. PowerShell 5 is part of Windows Management Framework (WMF) version 5 and can be downloaded from Microsoft […]

Install .NET 4.6.1 on Windows Server 2008 R2 or 2012 R2

Start by downloading .NET 4.6.1 from Microsoft. Launch the installer – I typically do this by running the command c:tempNDP461-KB3102436-x86-x64-AllOS-ENU.exe from an elevated PowerShell. Accept the licensing agreement and wait…. Check Version(s) of .NET InstalledFrom an elevated PowerShell run the following set of commands: Get-ChildItem ‘HKLM:SOFTWAREMicrosoftNET Framework SetupNDP’ -recurse |Get-ItemProperty -name Version,Release -EA 0 |Where { $_.PSChildName -match ‘^(?!S)p{L}’} […]