Book description
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
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication
- About the Author
- BRIEF CONTENTS
- CONTENTS IN DETAIL
- ACKNOWLEDGMENTS
- INTRODUCTION
- PART I: FUNDAMENTALS
- 1 GETTING STARTED
- 2 BASIC POWERSHELL CONCEPTS
- 3 COMBINING COMMANDS
- 4 CONTROL FLOW
- 5 ERROR HANDLING
- 6 WRITING FUNCTIONS
- 7 EXPLORING MODULES
- 8 RUNNING SCRIPTS REMOTELY
- 9 TESTING WITH PESTER
- PART II: AUTOMATING DAY-TO-DAY TASKS
- 10 PARSING STRUCTURED DATA
- 11 AUTOMATING ACTIVE DIRECTORY
- 12 WORKING WITH AZURE
- 13 WORKING WITH AWS
- 14 CREATING A SERVER INVENTORY SCRIPT
- PART III: BUILDING YOUR OWN MODULE
- 15 PROVISIONING A VIRTUAL ENVIRONMENT
- 16 INSTALLING AN OPERATING SYSTEM
- 17 DEPLOYING ACTIVE DIRECTORY
- 18 CREATING AND CONFIGURING A SQL SERVER
- 19 REFACTORING YOUR CODE
- 20 CREATING AND CONFIGURING AN IIS WEB SERVER
- INDEX
Product information
- Title: PowerShell for Sysadmins
- Author(s):
- Release date: February 2020
- Publisher(s): No Starch Press
- ISBN: 9781593279189
You might also like
book
Learn Windows PowerShell in a Month of Lunches, Third Edition
Learn Windows PowerShell in a Month of Lunches, Third Edition is an innovative tutorial designed for …
book
Mastering Windows PowerShell Scripting - Third Edition
Grasp advanced PowerShell Core 6.0 functionalities to automate your environment Key Features Keep up with changes …
book
Learn PowerShell in a Month of Lunches, Fourth Edition
Designed for busy IT professionals, this innovative guide will take you from the basics to PowerShell …
video
Practical Windows PowerShell Scripting, 2nd Edition
12+ Hours of Video Instruction Fully updated! Decipher PowerShell code and automate administrative tasks with minimal …