Course: Microsoft PowerShell and SQL Server

$131.89 incl. vat


duration: 7 hours |

Language: English (US) |

access duration: 90 days |

In Onbeperkt Leren


In this PowerShell training course you will learn the first steps that are needed to manage SQL Server by using PowerShell. You will also learn to manage SQL objects, to work with PowerShell scritping functions and to work with individual databases.

Among subjects that covered are Filestream, WMI, SMO & SQL Server cmdlets, .NET, SQLCMD mode, DBCC and far more.


After completing this course you are familiar with the basics of Microsoft PowerShell in combination with SQL Server.


There is nog specific knowledge required.

Target audience

System Administrator, Software Developer


Microsoft PowerShell and SQL Server

7 hours

Microsoft PowerShell and SQL Server: Introduction

  • start the course
  • recognize how PowerShell integrates directly within SQL Server by using preloaded modules and assemblies
  • identify and sort SQL Server services using PowerShell
  • establish a connection with a SQL Server database by calling a SqlConnection class
  • load an SMO assembly into PowerShell
  • create a SQL Server .NET object that connects to and iterates through a SQL Server instance to view the different objects, methods, and properties associated with it
  • use the get-Member cmdlet to display the methods and properties associated with a database
  • script out SQL Server tables using SMO in PowerShell
  • back up and restore databases from within PowerShell using SMO and SQL Server cmdlets
  • manage SQL Server services using cmdlets from within Microsoft's Windows PowerShell
  • manage client network protocols with WMI using PowerShell cmdlets in Microsoft SQL Server
  • view and manage aliases using WMI in PowerShell
  • enable FILESTREAM for a server instance using WMI in PowerShell
  • pipe SQL Server Error Log messages through PowerShell
  • use advanced cmdlets to work with and read the error log in PowerShell
  • obtain information on multiple instances of a server using cmdlets in PowerShell
  • enable PowerShell remoting
  • handle errors using Microsoft PowerShell
  • restore all databases in an instance of SQL using Microsoft PowerShell
  • analyze disk space in a disk or file group using PowerShell
  • display results in grid view in PowerShell
  • recognize the differences in inputting assemblies in Windows PowerShell and SQL PowerShell
  • create SQL audits using PowerShell
  • configure the options of the Invoke Sqlcmd cmdlet in PowerShell

Microsoft PowerShell and SQL Server: Database Management

  • start the course
  • use cmdlets to create and configure user defined policies in PowerShell
  • evaluate policies and output the result in PowerShell
  • create a PowerShell Job Step inside a SQL Server Agent Job
  • use Microsoft PowerShell to populate a table created in Microsoft SQL Server Management Studio using SQLCMD mode
  • execute SQL scripts from file locations in PowerShell
  • create SQL Server Agent Jobs in PowerShell
  • execute existing SQL Server Jobs in PowerShell
  • retrieve SQL Server Agent Job histories in PowerShell
  • use PowerShell variables
  • use piping in PowerShell
  • use the PowerShell Utility to create a Stored Procedure
  • create databases in PowerShell
  • use Microsoft PowerShell to create a Microsoft SQL Server login
  • use Microsoft PowerShell to change a SQL database's ownership
  • create a schema within a database using the PowerShell utility
  • create, alter, and drop a stored procedure using the PowerShell utility
  • pass your DBCC to each database using PowerShell
  • create a schema collection using PowerShell
  • configure and enable database mail using PowerShell
  • connect to an instance of SQL server using authentication in PowerShell
  • use PowerShell cmdlets to change an instance of SQL Server from Integrated Mode Authentication to Mixed Mode Authentication
  • use PowerShell cmdlets to drop an object within an instance of SQL Server
  • use PowerShell cmdlets to send SQL Server Query results through an SMTP e-mail
  • use PowerShell cmdlets to create an operator within SQL Server Agent
  • use PowerShell cmdlets to create error alerts for multiple errors simultaneously in SQL Server Agent

Course options

We offer several optional training products to enhance your learning experience. If you are planning to use our training course in preperation for an official exam then whe highly recommend using these optional training products to ensure an optimal learning experience. Sometimes there is only a practice exam or/and practice lab available.

Optional practice exam (trial exam)

To supplement this training course you may add a special practice exam. This practice exam comprises a number of trial exams which are very similar to the real exam, both in terms of form and content. This is the ultimate way to test whether you are ready for the exam. 

Optional practice lab

To supplement this training course you may add a special practice lab. You perform the tasks on real hardware and/or software applicable to your Lab. The labs are fully hosted in our cloud. The only thing you need to use our practice labs is a web browser. In the LiveLab environment you will find exercises which you can start immediatelyThe lab enviromentconsist of complete networks containing for example, clients, servers,etc. This is the ultimate way to gain extensive hands-on experience. 


Via ons opleidingsconcept bespaar je tot 80% op trainingen

Start met leren wanneer je wilt. Je bepaalt zelf het gewenste tempo

Spar met medecursisten en profileer je als autoriteit in je vakgebied.

Ontvang na succesvolle afronding van je cursus het officiële certificaat van deelname van

Krijg inzicht in uitgebreide voortgangsinformatie van jezelf of je medewerkers

Kennis opdoen met interactieve e-learning en uitgebreide praktijkopdrachten door gecertificeerde docenten


Once we have processed your order and payment, we will give you access to your courses. If you still have any questions about our ordering process, please refer to the button below.

read more about the order process

What is included?

Certificate of participation Yes
Monitor Progress Yes
Award Winning E-learning Yes
Mobile ready Yes
Sharing knowledge Unlimited access to our IT professionals community
Study advice Our consultants are here for you to advice about your study career and options
Study materials Certified teachers with in depth knowledge about the subject.
Service World's best service


Na bestelling van je training krijg je toegang tot ons innovatieve leerplatform. Hier vind je al je gekochte (of gevolgde) trainingen, kan je eventueel cursisten aanmaken en krijg je toegang tot uitgebreide voortgangsinformatie.

Life Long Learning

Follow multiple courses? Read more about our Life Long Learning concept

read more

Contact us

Need training advise? Contact us!