Windows Server Automation with PowerShell Cookbook, 4th Edition
- Length: 674 pages
- Edition: 4
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2021-07-30
- ISBN-10: 1800568452
- ISBN-13: 9781800568457
- Sales Rank: #646102 (See Top 100 Books)
Over 100 PowerShell recipes for working more effectively with Windows Server 2022/2019
Key Features
- Develop a holistic understanding of Windows Server 2022/2019 with PowerShell 7.1
- Learn best practices for PowerShell scripting to automate common tasks and manage AD, enterprise security, WMI, Azure, and .NET 5
- Discover new ways to optimize your PowerShell code by working through easy-to-follow recipes
Book Description
With a foreword from PowerShell creator Jeffrey Snover, this heavily updated edition is designed to help you learn how to use PowerShell 7.1 effectively and manage the core roles, features, and services of Windows Server 2022/2019 in an enterprise setting. Brand new to this edition are recipes exploring the .NET Framework, enterprise server security, and managing Windows Server with Windows Management Instrumentation (WMI).
This latest edition equips you with over 100 recipes you’ll need in day-to-day work, covering a wide range of fundamental and more advanced use cases. We look at how to install and configure PowerShell 7.1, along with useful new features and optimizations, and how the PowerShell compatibility solution bridges the gap to older versions of PowerShell. Topics include using PowerShell to manage networking and DHCP in Windows Server, objects in Active Directory, Hyper-V, and Azure. Debugging is crucial, so the book shows you how to use some powerful tools to diagnose and resolve issues with Windows Server.
What you will learn
- Perform key admin tasks on Windows Server 2022/2019
- Keep your organization secure with JEA, group policies, logs, and Windows Defender
- Use the .NET Framework for administrative scripting
- Manage data and storage on Windows, including disks, volumes, and filesystems
- Create and configure Hyper-V VMs, implementing storage replication and checkpoints
- Set up virtual machines, websites, and shared files on Azure
- Report system performance using built-in cmdlets and WMI to obtain single measurements
- Apply the right tools and modules to troubleshoot and debug Windows Server
Who this book is for
This book is for systems administrators, software architects, developers, or engineers working with Windows Server 2022/2019 seeking to automate tasks more effectively with PowerShell 7.1. Basic knowledge of PowerShell is expected.
Table of Contents
- Installing and Configuring PowerShell 7
- Introducing PowerShell 7
- Exploring Compatibility with Windows PowerShell
- Using PowerShell 7 in the Enterprise
- Exploring .NET
- Managing Active Directory
- Managing Networking in the Enterprise
- Implementing Enterprise Security
- Managing Storage
- Managing Shared Data
- Managing Printing
- Managing Hyper-V
- Managing Azure
- Troubleshooting with PowerShell
- Managing with Windows Management Instrumentation