PowerShell for Sysadmins: Workflow Automation Made Easy
Authors: Adam Bertram
ISBN-10: 1593279183
ISBN-13: 9781593279189
Released: 2020-02-04
Print Length 页数: 320 pages
Book Description
Learn to use PowerShell,Microsoft’s scripting language,to automate real-world tasks that IT professionals and system administrators deal with every day.
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
CONTENTS IN DETAIL
ACKNOWLEDGMENTS
INTRODUCTION
PART I: FUNDAMENTALS
1 GETTING STARTED
2 BASIC POWERSHELL CONCEPTS
3 COMBINING COMMANDS
4CONTROL FLOW
5ERROR HANDLING
6WRITING FUNCTIONS
7 EXPLORING MODULES
8 RUNNING SCRIPTS REMOTELY
9TESTING WITH PESTER
PART I: 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 lIl: 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 IS WEB SERVER
INDEX
PowerShell for Sysadmins Workflow Automation Made Easy 9781593279189. zip[/erphpdown]