SQL Server 2012 with PowerShell V3 Cookbook
Getting Started with SQL Server and PowerShell
Before you start: Working with SQL Server and PowerShell
Exploring the SQL Server PowerShell hierarchy
Discovering SQL-related cmdlets and modules
Creating a SQL Server instance object
SQL Server and PowerShell Basic Tasks
Discovering SQL Server services
Starting/stopping SQL Server services
Listing SQL Server configuration settings
Changing SQL Server instance configurations
Searching for database objects
Executing a query / SQL script
Performing bulk export using Invoke-Sqlcmd
Performing bulk export using bcp
Performing bulk import using BULK INSERT
Performing bulk import using bcp
Creating a SQL Server instance inventory
Creating a SQL Server database inventory
Listing installed hotfixes and service packs
Listing running/blocking processes
Setting up WMI Server event alerts
Executing a SQL query to multiple servers
Adding secondary data files to a filegroup
Moving an index to a different filegroup
Reorganizing/rebuilding an index
Adding a SQL Server event alert
Listing SQL Server service accounts
Changing SQL Server service account
Listing logins, users, and database mappings
Listing login/user roles and permissions
Assigning permissions and roles to a login
Assigning permissions to a database user
Listing facets and facet properties
Enabling/disabling change tracking
Running and saving a profiler trace event
Extracting the contents of a trace file
Creating a database master key
Creating symmetric and asymmetric keys
Setting up Transparent Data Encryption (TDE)
Changing database recovery model
Listing backup header and file list information
Creating a backup on mirrored media sets
Creating a differential backup
Creating a transaction log backup
Restoring a database to a point in time
Performing an online piecemeal restore
Extracting XML from SQL Server
Creating an RSS feed from SQL Server content
Storing binary data into SQL Server
Extracting binary data from SQL Server
Listing user-defined assemblies
Extracting user-defined assemblies
Listing items in your SSRS Report Server
Listing SSRS report properties
Using ReportViewer to view your SSRS report
Downloading an SSRS report in Excel and PDF
Changing an SSRS report's data source reference
Uploading an SSRS report to Report Manager
Downloading all SSRS report RDL files
Adding a user with a role to an SSRS report
Creating folders in an SSIS package store and MSDB
Deploying an SSIS package to the package store
Executing an SSIS package stored in the package store or File System
Downloading an SSIS package to a file
Deploying an ISPAC file to SSISDB
Executing an SSIS package stored in SSISDB
Listing SSAS instance properties
Documenting PowerShell script for Get-Help
Getting additional error messages
Extracting data from a web service
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet
SQL Server and PowerShell CheatSheet