Powershell for Sysadmins: A Hands-On Guide to Automating Your Workflow
Learn to use PowerShell, Microsoft's scripting language, to automate real-world tasks that IT professionals and system administrators deal with every day.
Bridge the gap between scripting and operations personnel with Automate the Boring Stuff with PowerShell. With PowerShell, you can automate tasks with scripts without having to learn the complicated ins and outs of programming. After you familiarize yourself with PowerShell's intuitive syntax, you'll apply your knowledge by designing and developing scripts for lots of daily situations IT personnel find themselves in every day. You'll then end with learning how to build a large project to automate server deployments from scratch written completely in PowerShell.
In Part One, you'll be brought up to an intermediate knowledge level of PowerShell by exploring the ins and outs of core concepts with PowerShell's intuitive syntax.
In Part Two, you'll begin to apply your knowledge and develop various scripts to automate all kinds of real-world tasks that a tech professional may run into.
Finally, in Part Three, you will take all of that knowledge you learned in the first two parts and begin work on a large PowerShell module called PowerLab. In this Part, you will build a real-world project purely in PowerShell that will teach you that PowerShell isn't just for a few scripts here and there This PowerLab module will enable you to automatically create Hyper-V virtual machines, install Windows servers, and provision domain controllers, IIS web servers, and SQL servers.
With this book's vast amount of real-world, applicable examples coming from an author who's lived PowerShell for over 8 years, you'll uncover hundreds of tactics and techniques that even the most seasoned PowerShell expert may not know. Unlock the possibilities with PowerShell
Adam Bertram is a 20-year veteran of IT. He's an automation engineer, blogger, consultant, freelance writer, Pluralsight course author and content marketing advisor to multiple technology companies. Adam focuses on DevOps, system management, and automation technologies as well as various cloud platforms mostly in the Microsoft space. He is a 3-time Microsoft Cloud and Datacenter Management MVP who absorbs knowledge from the IT field and explains it in an easy-to-understand fashion.
Part I: Fundamentals
Chapter 1: Getting Started
Chapter 2: Basic PowerShell Concepts
Chapter 3: Combining Commands
Chapter 4: Control Flow
Chapter 5: Error Handling
Chapter 6: Writing Functions
Chapter 7: Exploring Modules
Chapter 8: Running Scripts Remotely
Chapter 9: Testing with Pester
Part II: Automating Day-to-Day Tasks
Chapter 10: Parsing Structured Data
Chapter 11: Automating Active Directory
Chapter 12: Working with Azure
Chapter 13: Working with AWS
Chapter 14: Creating a Server Inventory Script
Part III: Building Your Own Module
Chapter 15: Provisioning a Virtual Environment
Chapter 16: Installing an Operating System
Chapter 17: Deploying Active Directory
Chapter 18: Creating and Configuring a SQL Server
Chapter 19: Refactoring Your Code
Chapter 20: Creating and Configuring an IIS Web Server
View the detailed Table of Contents
View the Index