PowerShell for SQL Server Essentials

Donabel Santos

  • 出版商: Packt Publishing
  • 出版日期: 2015-02-28
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 183
  • 裝訂: Paperback
  • ISBN: 1784391492
  • ISBN-13: 9781784391492
  • 相關分類: MSSQLPowershellSQL
  • 海外代購書籍(需單獨結帳)

商品描述

Manage and monitor SQL Server administration and application deployment with PowerShell

About This Book

  • Create scripts using PowerShell to manage and monitor server administration and application deployment
  • Automate creation of SQL Database objects through PowerShell with the help of SQL Server module (SQLPS) and SQL Server snapins
  • A fast paced guide, packed with hands-on examples on profiling and configuring SQL Server

Who This Book Is For

This book is written for SQL Server administrators and developers who want to leverage PowerShell to work with SQL Server. Some background with scripting will be helpful but not necessary.

What You Will Learn

  • Create scripts using PowerShell to manage and monitor server administration and application deployment
  • Automate the creation of SQL Database objects through PowerShell with the help of the SQL Server module (SQLPS) and SQL Server snap-ins
  • Use PowerShell to work with SQL Server specific providers and cmdlets
  • Identify and manage SQL Server services, instances, settings, and confi gurations
  • Profile your SQL Server instances and export current configurations to a file
  • Monitor SQL Server jobs and alerts
  • Manage logins, database users, and instance security and permissions
  • Invoke T-SQL queries from PowerShell and export results
  • Accomplish tasks from your DBA daily/weekly/monthly/yearly checklists with PowerShell

In Detail

PowerShell for SQL Server Essentials helps us to manage and monitor server administration and application deployment. Use PowerShell along with SQL Server to perform common DBA tasks.

Starting with a basic introduction to PowerShell, the initial chapters will provide the SQL Server professional PowerShell fundamentals, covering topics such as PowerShell notations and syntax, cmdlets, pipeline, and getting help. Succeeding chapters build upon these fundamentals, and illustrate how to administer and automate SQL Server. Tasks covered throughout include profiling the SQL Server instance, performing backup and restores, invoking T-SQL scripts using PowerShell, and monitoring jobs, security, and permissions.

Packed with practical examples and numerous ready-to-use snippets, this book gets you to an intermediate level in using PowerShell for SQL Server.

商品描述(中文翻譯)

使用 PowerShell 管理和監控 SQL Server 管理和應用程式部署

關於本書



  • 使用 PowerShell 創建腳本來管理和監控伺服器管理和應用程式部署

  • 借助 SQL Server 模組 (SQLPS) 和 SQL Server snapins,自動化創建 SQL 資料庫物件

  • 這是一本節奏快速的指南,充滿了實際示例,涵蓋了 SQL Server 的配置和設定

本書適合對象


本書適合 SQL Server 管理員和開發人員,他們希望利用 PowerShell 與 SQL Server 一起工作。具備腳本編寫背景將有所幫助,但不是必需的。

你將學到什麼



  • 使用 PowerShell 創建腳本來管理和監控伺服器管理和應用程式部署

  • 借助 SQL Server 模組 (SQLPS) 和 SQL Server snap-ins,自動化創建 SQL 資料庫物件

  • 使用 PowerShell 與 SQL Server 特定提供者和 cmdlet 一起工作

  • 識別和管理 SQL Server 服務、實例、設定和配置

  • 對 SQL Server 實例進行性能分析並將當前配置導出到文件

  • 監控 SQL Server 作業和警報

  • 管理登錄、資料庫使用者、實例安全性和權限

  • 從 PowerShell 中調用 T-SQL 查詢並導出結果

  • 使用 PowerShell 完成 DBA 的日常/每週/每月/每年檢查清單中的任務

詳細內容


《PowerShell for SQL Server Essentials》幫助我們管理和監控伺服器管理和應用程式部署。使用 PowerShell 與 SQL Server 一起執行常見的 DBA 任務。


從基本介紹 PowerShell 開始,最初的章節將提供 SQL Server 專業人員所需的 PowerShell 基礎知識,包括 PowerShell 註解和語法、cmdlet、管道和獲取幫助。後續章節建立在這些基礎之上,並演示如何管理和自動化 SQL Server。涵蓋的任務包括對 SQL Server 實例進行性能分析、執行備份和還原、使用 PowerShell 調用 T-SQL 腳本以及監控作業、安全性和權限。


本書充滿了實用示例和大量現成的程式碼片段,讓你能夠達到使用 PowerShell 進行 SQL Server 的中級水平。