-
Book Overview & Buying
-
Table Of Contents
SQL Server 2012 with PowerShell V3 Cookbook
By :
In this chapter, we will cover:
Creating a SQL Server instance inventory
Creating a SQL Server database inventory
Listing installed hotfixes and service packs
Listing running/blocking processes
Killing a blocking process
Checking disk space usage
Setting up WMI Server event alerts
Detaching a database
Attaching a database
Copying a database
Executing a SQL query to multiple servers
Creating a filegroup
Adding secondary data files to a filegroup
Moving an index to a different filegroup
Checking index fragmentation
Reorganizing/rebuilding an index
Running DBCC commands
Setting up Database Mail
Listing SQL Server jobs
Adding a SQL Server operator
Creating a SQL Server job
Adding a SQL Server event alert
Running a SQL Server job
Scheduling a SQL Server job