Book Image

PowerShell for SQL Server Essentials

By : Donabel Santos
Book Image

PowerShell for SQL Server Essentials

By: Donabel Santos

Overview of this book

Table of Contents (15 chapters)
PowerShell for SQL Server Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Implementing Reusability with Functions and Modules
Index

Chapter 6. Monitoring and Automating SQL Server

This chapter covers how SQL Server usage and performance monitoring, logging, alerting, and error checking can be done with PowerShell. The topics covered in this chapter include the following:

  • Getting to know helpful cmdlets

  • Scheduling PowerShell scripts

  • Checking logs

  • Monitoring failed jobs

  • Alerting on disk space usage

  • Logging blocked processes

  • Getting performance metrics