Book Description
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.
Author : Donabel Santos
Publisher : Packt Publishing Ltd
Page : 186 pages
File Size : 16,47 MB
Release : 2015-02-25
Category : Computers
ISBN : 1784397105
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.
Author : Chrissy LeMaire
Publisher : Simon and Schuster
Page : 398 pages
File Size : 14,23 MB
Release : 2022-08-16
Category : Computers
ISBN : 1638351260
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 Written by a group of expert authors including dbatools creator Chrissy LeMaire, Learn dbatools in a Month of Lunches teaches you techniques that will make you more effective—and efficient—than you ever thought possible. In twenty-eight lunchbreak lessons, you’ll learn the most important use cases of dbatools and the favorite functions of its core developers. Stabilize and standardize your SQL server environment, and simplify your tasks by building automation, alerting, and reporting with this powerful tool. About the technology For SQL Server DBAs, automation is the key to efficiency. Using the open-source dbatools PowerShell module, you can easily execute tasks on thousands of database servers at once—all from the command line. dbatools gives you over 500 pre-built commands, with countless new options for managing SQL Server at scale. There’s nothing else like it. About the book Learn dbatools in a Month of Lunches teaches you how to automate SQL Server using the dbatools PowerShell module. Each 30-minute lesson introduces a new automation that will make your daily duties easier. Following the expert advice of dbatools creator Chrissy LeMaire and other top community contributors, you’ll learn to script everything from backups to disaster recovery. What's inside Performing instance-to-instance and customized migrations Automating security audits, best practices, and standardized configurations Administering SQL Server Agent including running PowerShell scripts effectively Bulk-importing many types of data into SQL Server Executing advanced tasks and increasing efficiency for everyday administration About the reader For DBAs, accidental DBAs, and systems engineers who manage SQL Server. About the author Chrissy LeMaire is a GitHub Star and the creator of dbatools. Rob Sewell is a data engineer and a passionate automator. Jess Pomfret and Cláudio Silva are data platform architects. All are Microsoft MVPs. 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
Author : Adam Bertram
Publisher : No Starch Press
Page : 321 pages
File Size : 29,12 MB
Release : 2020-02-04
Category : Computers
ISBN : 1593279183
Learn to use PowerShell, Microsoft's scripting language, to automate real-world tasks that IT professionals and system administrators deal with every day. Save Time. Automate. PowerShell® is both a scripting language and an administrative shell that lets you control and automate nearly every aspect of IT. In PowerShell for Sysadmins, five-time Microsoft® MVP "Adam the Automator" Bertram shows you how to use PowerShell to manage and automate your desktop and server environments so that you can head out for an early lunch. You'll learn how to: Combine commands, control flow, handle errors, write scripts, run scripts remotely, and test scripts with the PowerShell testing framework, Pester Parse structured data like XML and JSON, work with common domains (like Active Directory, Azure, and Amazon Web Services), and create a real-world server inventory script Design and build a PowerShell module to demonstrate PowerShell isn't just about ad-hoc scripts Use PowerShell to create a hands-off, completely automated Windows deployment Build an entire Active Directory forest from nothing but a Hyper-V host and a few ISO files Create endless Web and SQL servers with just a few lines of code! Real-world examples throughout help bridge the gap between theory and actual system, and the author's anecdotes keep things lively. Stop with the expensive software and fancy consultants. Learn how to manage your own environment with PowerShell for Sysadmins and make everyone happy. Covers Windows PowerShell v5.1
Author : Oisin Grehan
Publisher : Simon and Schuster
Page : 693 pages
File Size : 42,49 MB
Release : 2013-07-25
Category : Computers
ISBN : 1638353034
Summary Here's your chance to learn from the best in the business. PowerShell Deep Dives is a trove of essential techniques, practical guidance, and the expert insights you earn only through years of experience. Editors Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic hand-picked the 28 chapters in the book's four parts: Administration, Scripting, Development, and Platforms. About the Technology PowerShell has permanently changed Windows administration. This powerful scripting and automation tool allows you to control virtually every aspect of Windows and most Microsoft servers like IIS and SQL Server. Here's your chance to learn from the best in the business. About this Book PowerShell Deep Dives is a trove of essential techniques and practical guidance. It is rich with insights from experts who won them through years of experience. The book's 28 chapters, grouped in four parts (Administration, Scripting, Development, and Platforms), were hand-picked by four section editors: Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic. Whether you're just getting started with PowerShell or you already use it daily, you'll find yourself returning to this book over and over. What's Inside Managing systems through a keyhole The Ten Commandments of PowerShell scripting Scalable scripting for large datasets Adding automatic remoting Provisioning web servers and websites automatically to IIS 8 And 23 more fantastic chapters Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the AuthorsEditors Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic are joined by PowerShell experts Chris Bellee, Bartek Bielawski, Robert C. Cain, Jim Christopher, Adam Driscoll, Josh Gavant, Jason Helmick, Don Jones, Ashley McGlone, Jonathan Medd, Ben Miller, James O'Neill, Arnaud Petitjean, Vadims Podans, Karl Prosser, Boe Prox, Matthew Reynolds, Mike Robbins, Donabel Santos, Will Steele, Trevor Sullivan, and Jeff Wouters. Table of Contents PART 1 POWERSHELL ADMINISTRATION Diagnosing and troubleshooting PowerShell remoting CIM sessions 22 Collecting and analyzing performance counter data TCP port communications with PowerShell Managing systems through a keyhole Using PowerShell to audit user logon events Managing and administering a certification authoritydatabase with PowerShell Using PowerShell to reduce Active Directory token bloat PART 2 POWERSHELL SCRIPTING The 10 PowerShell scripting commandments Avoiding the pipeline A template for handling and reporting errors Tips and tricks for creating complex or advancedHTML reports with PowerShell Using and "abusing" dynamic parameters PowerShell type formatting Scalable scripting for large data sets: pipelineand database techniques Building your own WMI-based cmdlets Turning command-line tools into PowerShell tools PART 3 POWERSHELL FOR DEVELOPERS Using Source Control Software with PowerShell Inline .NET code PowerShell and XML: better together Adding automatic remoting to advanced functionsand cmdlets Taming software builds (and other complicated processes)with psake PART 4 POWERSHELL PLATFORMS PowerShell and the SQL Server provider Creating flexible subscriptions in SSRS Inventory database table statistics using PowerShellSQL Server Management Objects WSUS and PowerShell Provisioning IIS web servers and sites with PowerShell Active Directory Group Management application
Author : Randolph West
Publisher : Microsoft Press
Page : 1720 pages
File Size : 38,1 MB
Release : 2020-03-11
Category : Computers
ISBN : 0135560950
Conquer SQL Server 2019 administration–from the inside out Dive into SQL Server 2019 administration–and really put your SQL Server DBA expertise to work. This supremely organized reference packs hundreds of timesaving solutions, tips, and workarounds–all you need to plan, implement, manage, and secure SQL Server 2019 in any production environment: on-premises, cloud, or hybrid. Six experts thoroughly tour DBA capabilities available in SQL Server 2019 Database Engine, SQL Server Data Tools, SQL Server Management Studio, PowerShell, and Azure Portal. You’ll find extensive new coverage of Azure SQL, big data clusters, PolyBase, data protection, automation, and more. Discover how experts tackle today’s essential tasks–and challenge yourself to new levels of mastery. Explore SQL Server 2019’s toolset, including the improved SQL Server Management Studio, Azure Data Studio, and Configuration Manager Design, implement, manage, and govern on-premises, hybrid, or Azure database infrastructures Install and configure SQL Server on Windows and Linux Master modern maintenance and monitoring with extended events, Resource Governor, and the SQL Assessment API Automate tasks with maintenance plans, PowerShell, Policy-Based Management, and more Plan and manage data recovery, including hybrid backup/restore, Azure SQL Database recovery, and geo-replication Use availability groups for high availability and disaster recovery Protect data with Transparent Data Encryption, Always Encrypted, new Certificate Management capabilities, and other advances Optimize databases with SQL Server 2019’s advanced performance and indexing features Provision and operate Azure SQL Database and its managed instances Move SQL Server workloads to Azure: planning, testing, migration, and post-migration
Author : Prashanth Jayaram
Publisher : BPB Publications
Page : 319 pages
File Size : 31,43 MB
Release : 2023-12-07
Category : Computers
ISBN : 9355517440
PowerShell Essentials - Your path to efficient automation and scripting KEY FEATURES ● Understand the concepts of .NET and PowerShell. ● Learn the basics of PowerShell, including the syntax, commands, and core concepts. ● Learn how to work with variables in PowerShell, including how to store data, perform arithmetic operations, and display data. ● Get familiar with the pipeline and work with the Scripts. ● Implement PowerShell solutions to manage large infrastructures through automation. DESCRIPTION In the last decade, PowerShell has propelled in every way in the automation arena. Since the inception of PowerShell, it has become a de facto tool for automation, and it is the favorite solution of many Windows administrators, with the capability to automate almost any task in the Microsoft ecosystem. Since the advent of PowerShell, it has been a lot easier to import the related modules and invoke the associated cmdlets call to take care of many day-to-day mundane activities, from simple to complex maintenance. Beginning with introductory chapters that cover Azure concepts, an overview of PowerShell, and other related tools, the reader will be introduced to the advanced concepts of Azure components without heavy emphasis on Cloud. This book would give an IT administrator's view of Microsoft Azure by equipping them to construct, manage, and administer workloads on-premise or in the Cloud. The later chapters are straightforward to understand and completely isolated from each section. For every section, the PowerShell code is designed, and readers with no prior experience can jump into the topics and get started with the examples. The aim of this book is to provide the reader with hands-on experience with Azure databases, enabling them to work with what is relevant in the market today and is clearly in the future. It would be great to have hands-on experience with PowerShell; this would help you to progress faster. However, if you have experience with PowerShell, you can jump to a specific chapter or topic in the book. WHAT YOU WILL LEARN ● Get to understand the Windows operating system as PowerShell is a cross-platform scripting language, so understand how it works on multi-platforms. ● Learn to use PowerShell for administration, such as on the Cloud, Active Directory, VMware and SQL Server, and more. ● Learn to administer infrastructure effectively. ● Practice real-world examples to ensure proficiency. WHO THIS BOOK IS FOR PowerShell serves as a crucial framework for IT professionals. It is a top choice for automation engineers, Windows administrators, and network administrators looking to standardize, automate server installation, integrate automation workflows, and streamline day-to-day Windows network management. Cloud engineers benefit from built-in PowerShell tools provided by various cloud vendors. Database administrators effectively administer SQL infrastructure with PowerShell's SQL modules. TABLE OF CONTENTS 1. Introducing PowerShell 2. PowerShell Constructs 3. Munging the Data Through Pipelines 4. Data Control Flow Using Branches and Loops 5. Learning about PowerShell Modules 6. Choosing Between PowerShell Core and PowerShell 7. PowerShell Administration and Scripting 8. Using the Active Directory Module 9. Building PowerShell GUI for Scripts 10. Managing Cloud Operations Using PowerShell 11. Understanding PowerShell and Data Science 12. Administrating Database Using PowerShell
Author : Carl Rabeler
Publisher : Microsoft Press
Page : 345 pages
File Size : 45,34 MB
Release : 2016-06-06
Category : Computers
ISBN : 150930293X
Part of the “Microsoft Azure Essentials” series, this ebook helps SQL Server database users understand Microsoft’s offering for SQL Server in Azure. Learn how SQL Server in Azure is similar to SQL Server in an on-premises environment, and how they are different. The author, a content lead for Azure.com, walks you through the steps of getting started with SQL Server in an Azure virtual machine and with Azure SQL Database. Follow the numerous screenshots to create a trial subscription, create SQL Server in an Azure virtual machine, create an Azure SQL Database, migrate an on-premises database to each Azure environment, create users, back up and restore data, and archive data.
Author : Don Jones
Publisher : Simon and Schuster
Page : 390 pages
File Size : 42,11 MB
Release : 2014-04-30
Category : Computers
ISBN : 1638353166
Summary Learn SQL Server Administration in a Month of Lunches is the perfect way to get started with SQL Server operations, including maintenance, backup and recovery, high availability, and performance monitoring. In about an hour a day over a month, you'll learn exactly what you can do, and what you shouldn't touch. Most importantly, you'll learn the day-to-day tasks and techniques you need to keep SQL Server humming along smoothly. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book Microsoft SQL Server is used by millions of businesses, ranging in size from Fortune 500s to small shops worldwide. Whether you're just getting started as a DBA, supporting a SQL Server-driven application, or you've been drafted by your office as the SQL Server admin, you do not need a thousand-page book to get up and running. Learn SQL Server Administration in a Month of Lunches is the perfect way to get started with SQL Server. This concise, easy-to-read book skips academic introductions and teaches you day-to-day techniques for maintenance, backup and recovery, performance monitoring, and more. Each of the 21 short lessons gives you practical takeaways you'll use over and over. What's Inside Master the basics—indexes, logins, backup, recovery ... and more Learn what you can and cannot do when supporting a third-party application Monitor and improve performance Written by expert trainer and bestselling author Don Jones Accessible to readers of any level of experience, the book covers techniques for all versions of SQLServer 2005-2014. About the Author Don Jones is a Microsoft MVP, speaker, and trainer. He is the creator of the Month of Lunches series and author of over 50 books on PowerShell, IIS, Active Directory, SCCM, SQL Server, and more. Table of Contents Before you begin Server assessment and configuration T-SQL crash course Managing databases Backup and recovery Authentication: who are you? Authorization: what are you allowed to do? Accounting: what did you do? Analyzing indexes Maintaining indexes Tuning index designs Reading query execution plans Block and deadlock analysis Automating management with SQL Server Agent Multiserver management Windows PowerShell and SQL Server Using Extended Events Monitoring and analyzing performance Options for high availability Virtualizing SQL Server Moving, migrating, and upgrading databases SQL Server performance checklist Never the end
Author : Lee Holmes
Publisher : "O'Reilly Media, Inc."
Page : 882 pages
File Size : 30,5 MB
Release : 2010-08-20
Category : Computers
ISBN : 0596801505
With more than 250 ready-to-use recipes, this solutions-oriented introduction to the Windows PowerShell scripting environment and language provides administrators with the tools to be productive immediately.
Author : William Assaf
Publisher : Microsoft Press
Page : 1125 pages
File Size : 43,13 MB
Release : 2018-02-26
Category : Computers
ISBN : 0135185394
Conquer SQL Server 2017 administration—from the inside out Dive into SQL Server 2017 administration—and really put your SQL Server DBA expertise to work. This supremely organized reference packs hundreds of timesaving solutions, tips, and workarounds—all you need to plan, implement, manage, and secure SQL Server 2017 in any production environment: on-premises, cloud, or hybrid. Four SQL Server experts offer a complete tour of DBA capabilities available in SQL Server 2017 Database Engine, SQL Server Data Tools, SQL Server Management Studio, and via PowerShell. Discover how experts tackle today’s essential tasks—and challenge yourself to new levels of mastery. • Install, customize, and use SQL Server 2017’s key administration and development tools • Manage memory, storage, clustering, virtualization, and other components • Architect and implement database infrastructure, including IaaS, Azure SQL, and hybrid cloud configurations • Provision SQL Server and Azure SQL databases • Secure SQL Server via encryption, row-level security, and data masking • Safeguard Azure SQL databases using platform threat protection, firewalling, and auditing • Establish SQL Server IaaS network security groups and user-defined routes • Administer SQL Server user security and permissions • Efficiently design tables using keys, data types, columns, partitioning, and views • Utilize BLOBs and external, temporal, and memory-optimized tables • Master powerful optimization techniques involving concurrency, indexing, parallelism, and execution plans • Plan, deploy, and perform disaster recovery in traditional, cloud, and hybrid environments For Experienced SQL Server Administrators and Other Database Professionals • Your role: Intermediate-to-advanced level SQL Server database administrator, architect, developer, or performance tuning expert • Prerequisites: Basic understanding of database administration procedures