Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. An Introduction to Microsoft SQL Serv... > Lesson 2: Implementing Scripts by Us...

Lesson 2: Implementing Scripts by Using Windows PowerShell

As a developer, you can use PowerShell in SQL Server 2008 to automate the process of deploying your applications. You can also use SQL Server PowerShell to automate the enumeration of database objects and the object properties. Additionally, you can invoke Sqlcmd through SQL Server PowerShell, allowing you to execute any valid SQL commands from within the Windows PowerShell environment.

After this lesson, you will be able to:

  • Understand the capabilities of SQL Server PowerShell.

  • Navigate the SQL Server PowerShell hierarchy.

  • Use SQL Server PowerShell to enumerate objects.

Estimated lesson time: 45 minutes

What Is Windows PowerShell?

Windows PowerShell is a command-line shell and scripting environment that allows you to automate administrative and development tasks by creating robust scripts. Because Windows PowerShell functions across many Microsoft applications, once you learn this common scripting language, you can use it to manage multiple servers and products.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint