Windows Server Automation with PowerShell Cookbook, Fifth Edition: Powerful ways to automate, manage, and administrate Windows Server 2022 using PowerShell 7.2
, Fifth Edition
New edition updated to the latest version of PowerShell 7.2 and Windows Server 2022
Discover new ways to optimize your PowerShell code by working through easy-to-follow recipes
Learn PowerShell best practices to automate common tasks and manage DHCP in Microsoft Windows Server, objects in Active Directory, Hyper-V, and Azure
Description
The Windows Server Automation with PowerShell Cookbook is back with a new edition, featuring over 100 PowerShell recipes that will make your day-to-day work easier. This book is designed to help you learn how to install, configure and use PowerShell 7.2 effectively.
To start with, we’ll look at how to install and configure PowerShell 7.2, along with useful new features and optimizations, and show you how the PowerShell compatibility solution bridges the gap to older versions of PowerShell. We’ll also be covering a wide range of fundamental and more advanced use cases, including how to create a VM and set up an Azure VPN, as well as looking at how to back up to Azure. As you progress, you’ll explore topics such as using PowerShell to manage networking and DHCP in Windows Server, objects in Active Directory, Hyper-V, and Azure. We’ll also take a closer look at WSUS, containers and see how to handle modules that are not directly compatible with PowerShell 7. Finally, you’ll also learn how to use some powerful tools to diagnose and resolve issues with Windows Server.
By the end of this PowerShell book, you’ll know how to use PowerShell 7.2 to automate tasks on Windows Server 2022 with ease, helping your Windows environment to run faster and smoother.
Who is this book for?
This book is for systems administrators, software architects, developers, consultants, and engineers working with Windows Server 2022 who want to automate tasks more effectively with PowerShell 7.2. You’ll need to have conquered the basics of PowerShell and have a rudimentary understanding of PowerShell scripting before you can get started with this book.
What you will learn
Perform key admin tasks on Windows Server
Keep your organization secure with JEA, group policies, logs, and Windows Defender
Use .NET Framework for administrative scripting
Manage data and storage on Windows, including disks, volumes, and filesystems
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
Create, manage, and back up a second VM using the subnetwork in Azure
Learn how to set up a VPN in Azure with PowerShell
It is a great product and exactly what I was looking for.
Feefo Verified review
Mark A DelagarzaFeb 07, 2023
5
Outstanding book! Has a good amount of information about automation with Powershell and utilizing it in different environments. It has helped me make a lot of my everyday processes into an automation script, so now I can get things done faster with a click of a button.Helps you get your Powershell setup and configured correctly for automation. Introduction to Visual studio code, Active Directory scripting, group policy, Domain controllers,enterprise security, printers, Hyper-V, VM-replication, PS-Script anaylzing, beggung and troubleshooting, WSUS manager.He explains everything then walks you step by step on how to do them yourself.I recommend this book to anybody looking to get efficient in powershell and automating your every day tasks. That way you can save time and get more done in your day.
Amazon Verified review
Mr. S. McGrathFeb 15, 2023
5
Thomas has been writing books on PowerShel for a long time and this shows in his latest title.The list of topics is concise as are the explanations of all of the solutions he provides. This is a worthy edition to my collection and I'll be referencing it often.
Amazon Verified review
Amazon CustomerApr 01, 2023
5
PowerShell is as powerful as it sounds. If you're looking to automate tasks with PowerShell in an environment where you manager windows servers, this is a great book. It goes over all the necessary management you need to do for server administration, using PowerShell to automate it. Not only is the book thorough and detailed, but it simplifies the concepts well enough any beginner who isn't as familiar to learn from it. It was simple for me to read, as a beginner in automating windows server tasks. This book is a great tool to keep in my arsenal whenever I'll need to reference. Anyone can pick this up and learn something useful about PowerShell!
Amazon Verified review
Tiffany HarperApr 01, 2023
5
My favorite part about the book is its organization. The book is organized into chapters, focusing on specific areas of Windows Server administration, such as Active Directory, Group Policy, and Hyper-V. This is really helpful for me as I'm starting a new IAM Analyst role and I'll be able to put this book to use on the job. With that being said, the book structure makes it easy for readers to find the information they need and to apply the techniques they learn to their own environments.I also love the practical focus because I'm a hands-on learner. The author provides numerous examples of PowerShell scripts and commands that can be used to automate common administrative tasks on Windows servers. Each example is explained in detail, with step-by-step instructions and screenshots to help readers understand how the script works.I definitely recommend this book to those working with PowerShell in any capacity.
Thomas Lee is a consultant/trainer/writer based in the UK and has been in the IT business since the late 1960s. After graduating from Carnegie Mellon University, Thomas joined ComShare where he was a systems programmer building the Commander II time-sharing operating system, a forerunner of today's cloud computing paradigm. In the mid-1970s, he moved to ICL to work on the VME/K operating system. After a sabbatical in 1980/81, he joined Accenture, leaving in 1988 to run his own consulting and training business, which is still active today.
Thomas holds numerous Microsoft certifications, including MCSE (one of the first in the world) and later versions, MCT (25 years), and was awarded Microsoft's MVP award 17 times.
A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content
How can I cancel my subscription?
To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.
What are credits?
Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.
What happens if an Early Access Course is cancelled?
Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.
Where can I send feedback about an Early Access title?
If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team.
Can I download the code files for Early Access titles?
We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.
When we publish the book, the code files will also be available to download from the Packt website.
How accurate is the publication date?
The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.
How will I know when new chapters are ready?
We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.
I am a Packt subscriber, do I get Early Access?
Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.
How is Early Access delivered?
Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.
How do I buy Early Access content?
Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.
What is Early Access?
Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.