SQL Server 2012 with PowerShell V3 Cookbook
暫譯: SQL Server 2012 與 PowerShell V3 食譜

Santos Donabel

  • 出版商: Packt Publishing
  • 出版日期: 2012-10-15
  • 售價: $2,590
  • 貴賓價: 9.5$2,461
  • 語言: 英文
  • 頁數: 634
  • 裝訂: Paperback
  • ISBN: 1849686467
  • ISBN-13: 9781849686464
  • 相關分類: MSSQLPowershellSQL
  • 海外代購書籍(需單獨結帳)

商品描述

This versatile book is a great work companion if you're a SQL Server database professional who wants to exploit the potential of PowerShell. Dip into the recipes or treat it like a training course - the choice is yours.

  • Provides over a hundred practical recipes that utilize PowerShell to automate, integrate and simplify SQL Server tasks
  • Offers easy to follow, step-by-step guide to getting the most out of SQL Server and PowerShell
  • Covers numerous guidelines, tips, and explanations on how and when to use PowerShell cmdlets, WMI, SMO, .NET classes or other components
  • Builds a strong foundation that gets you comfortable using PowerShell with SQL Server--empowering you to create more complex scripts that you need in your day-to-day job

In Detail

PowerShell is Microsoft's new command-line shell and scripting language that promises to simplify automation and integration across different Microsoft applications and components. Database professionals can leverage PowerShell by utilizing its numerous built-in cmdlets, or using any of the readily available .NET classes, to automate database tasks, simplify integration, or just discover new ways to accomplish the job at hand.

"SQL Server 2012 with PowerShell V3 Cookbook" provides easy-to-follow, practical examples for the busy database professional. Whether you're auditing your servers, or exporting data, or deploying reports, there is a recipe that you can use right away!

You start off with basic topics to get you going with SQL Server and PowerShell scripts and progress into more advanced topics to help you manage and administer your SQL Server databases.

The first few chapters demonstrate how to work with SQL Server settings and objects, including exploring objects, creating databases, configuring server settings, and performing inventories. The book then deep dives into more administration topics like backup and restore, credentials, policies, jobs, snapshots, publications, and subscriptions.

Additional development and BI-specific topics are also explored, including deploying and downloading assemblies, BLOB data, SSIS packages, and SSRS reports.

A short PowerShell primer is also provided as a supplement in the Appendix, which the database professional can use as a refresher or occasional reference material. Packed with more than 100 practical, ready-to-use scripts, "SQL Server 2012 with PowerShell V3 Cookbook" will be your go-to reference in automating and managing SQL Server.

What you will learn from this book

  • Create an inventory of database properties and server configuration settings
  • Backup and restore databases
  • Execute queries to multiple servers
  • Maintain permissions and security for users
  • Import and export XML into SQL Server
  • Extract CLR assemblies and BLOB objects from the database
  • Explore database objects
  • Manage and deploy SSIS packages and SSRS reports
  • Manage and monitor running SQL Server services and accounts
  • Parse and display the contents of trace files
  • Create SQL Server jobs, alerts and operators
  • Find blocking processes that are hampering your database performance

商品描述(中文翻譯)

這本多功能的書籍是 SQL Server 資料庫專業人士的絕佳工作夥伴,幫助您發揮 PowerShell 的潛力。您可以隨意翻閱食譜,或將其視為培訓課程 - 決定權在您。

- 提供超過一百個實用的食譜,利用 PowerShell 自動化、整合和簡化 SQL Server 任務
- 提供易於遵循的逐步指南,讓您充分利用 SQL Server 和 PowerShell
- 涵蓋多項指導方針、提示和解釋,說明如何以及何時使用 PowerShell cmdlets、WMI、SMO、.NET 類別或其他元件
- 建立堅實的基礎,讓您能夠自信地使用 PowerShell 與 SQL Server,讓您能夠創建日常工作中所需的更複雜腳本

**詳細內容**

PowerShell 是微軟的新命令列外殼和腳本語言,承諾簡化不同微軟應用程式和元件之間的自動化和整合。資料庫專業人士可以利用 PowerShell,透過其眾多內建的 cmdlets,或使用任何可用的 .NET 類別,自動化資料庫任務、簡化整合,或發現完成手頭工作的新方法。

《SQL Server 2012 與 PowerShell V3 食譜》為忙碌的資料庫專業人士提供易於遵循的實用範例。無論您是在審核伺服器、導出資料,還是部署報告,都有可以立即使用的食譜!

您將從基本主題開始,讓您熟悉 SQL Server 和 PowerShell 腳本,然後進入更高級的主題,幫助您管理和管理 SQL Server 資料庫。

前幾章展示了如何處理 SQL Server 設定和物件,包括探索物件、創建資料庫、配置伺服器設定和執行清單。接著,書中深入探討更多管理主題,如備份和還原、憑證、政策、作業、快照、發佈和訂閱。

還探討了其他開發和商業智慧(BI)特定主題,包括部署和下載組件、BLOB 資料、SSIS 套件和 SSRS 報告。

附錄中還提供了一個簡短的 PowerShell 入門,資料庫專業人士可以用作複習或偶爾的參考資料。《SQL Server 2012 與 PowerShell V3 食譜》擁有超過 100 個實用的即用腳本,將成為您自動化和管理 SQL Server 的首選參考。

**您將從這本書中學到什麼**

- 創建資料庫屬性和伺服器配置設定的清單
- 備份和還原資料庫
- 對多個伺服器執行查詢
- 維護用戶的權限和安全性
- 將 XML 匯入和匯出到 SQL Server
- 從資料庫中提取 CLR 組件和 BLOB 物件
- 探索資料庫物件
- 管理和部署 SSIS 套件和 SSRS 報告
- 管理和監控正在運行的 SQL Server 服務和帳戶
- 解析和顯示追蹤檔案的內容
- 創建 SQL Server 作業、警報和操作員
- 找出阻礙資料庫性能的阻塞進程