If you work with SQL Server, dbatools is a lifesaver. This book will show you how to use this free and open source PowerShell module to automate just about every SQL server task you can imagine—all in just one month!
In Learn dbatools in a Month of Lunches you will learn how to:
Perform instance-to-instance and customized migrations
Automate security audits, tempdb configuration, alerting, and reporting
Schedule and monitor PowerShell tasks in SQL Server Agent
Bulk-import any type of data into SQL Server
Install dbatools in secure environments
Table of Contents
1 Before you begin
2 Installing dbatools
3 The dbatools lab
4 A gentle introduction to dbatools commands
5 Writing to SQL Server
6 Finding SQL Server instances on your network
7 Inventorying your SQL estate
8 Registered Servers
9 Logins and users
10 Backups
11 Restore
12 Snapshots
13 Install and update SQL Server
14 Preparing for disaster
15 Performing your first advanced SQL Server instance migration, part 1
16 Performing your first advanced SQL Server instance migration, part 2
17 High availability and disaster recovery
18 PowerShell and SQL Server Agent
19 SQL Server Agent administration
20 Creating and working with SQL Server Agent objects
21 Data masking
22 DevOps automation
23 Tracing SQL Server activity
24 Security and encryption
25 Data compression
26 Validating your estate with dbachecks
27 Working in the cloud
28 dbatools configurations and logging
29 Never the end