Setting up the environment

Before we can start talking about PowerShell, we first need to make sure you have access to an environment that has PowerShell.

PowerShell V5 comes natively with these operating systems: Windows 8 and Windows Server 2012. You can also install PowerShell V5 on Windows 7, Windows Server 2008, and Windows Server 2008 R2 by installing the Windows Management Framework 5.0, which contains PowerShell V5.

Get SQL Server 2014 with PowerShell v5 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.