O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SQL Server PowerShell

SQL Server PowerShell (SQLPS) is implemented differently in SQL Server 2012. In earlier versions, it was implemented as a PowerShell 1.0 minishell. This implementation resulted in a restricted version of the PowerShell console. In other words, several of the core cmdlets were not available in SQL Server PowerShell, and others might not work exactly the same way.

SQL Server 2012 now provides a Windows PowerShell module named SQLPS that is used to import the SQL Server components into a Windows PowerShell 2.0 environment or script. Modules are new to Windows PowerShell 2.0. The SQLPS module loads 2 Windows PowerShell snap-ins that implement a SQL Server provider and a set of cmdlets that support SQL Server actions. When the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required