Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

PowerShell and SQL Server

Learn how to use PowerShell with SQL Server to perform common DBA and Developer tasks.

Intermediate
2h 48m
(130)

Created by Robert Cain

Last Updated Apr 23, 2021

Course Thumbnail
  • Course

PowerShell and SQL Server

Learn how to use PowerShell with SQL Server to perform common DBA and Developer tasks.

Intermediate
2h 48m
(130)

Created by Robert Cain

Last Updated Apr 23, 2021

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

This course is designed to teach you the fundamentals of using PowerShell to manage your SQL Servers, as well as develop on them. In Module 1, we cover basic DBA tasks using just PowerShell. With Module 2, we provide an introduction to the two main tools for working with SQL Server, the SMO, or SQL Management Objects, and the SQL Server Provider. Module 3 will cover basic DBA tasks using both SMO and the SQL Provider. With Module 4 we switch to Developer mode and cover development using the SQL Provider. Module 5 continues the developer theme, this time using the SQL Management Objects. We finally wrap things up with Module 6, in which we go over a real world example of using PowerShell and SQL Server. We also cover the SQL PS mode of PowerShell, as well as how to make effective use of PowerShell from a SQL Server job.

PowerShell and SQL Server
Intermediate
2h 48m
(130)
Table of contents

About the author
Robert Cain - Pluralsight course - PowerShell and SQL Server
Robert Cain
27 courses 4.4 author rating 4558 ratings

Robert C. Cain (arcanecode.com) is a Microsoft MVP, MCTS Certified in BI, and is the owner of Arcane Training and Consulting, LLC. He is also a course author for Pluralsight, team member at Linchpin People, and co-author of 4 books.

Get started with Pluralsight