Windows Server Automation with PowerShell Cookbook
Windows Server Automation with PowerShell Cookbook
Language - English
Updated on Jan, 2023
About the Book
Book description
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.

eBook Preview
Author Details

Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.
Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.
As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
Our students work
with the Best


































Related eBooks
Annual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now