Book Image

Windows Server 2016 Automation with PowerShell Cookbook - Second Edition

By : Thomas Lee, Ed Goad
Book Image

Windows Server 2016 Automation with PowerShell Cookbook - Second Edition

By: Thomas Lee, Ed Goad

Overview of this book

This book showcases several ways that Windows administrators can use to automate and streamline their job. You'll start with the PowerShell and Windows Server fundamentals, where you'll become well versed with PowerShell and Windows Server features. In the next module, Core Windows Server 2016, you'll implement Nano Server, manage Windows updates, and implement troubleshooting and server inventories. You'll then move on to the Networking module, where you'll manage Windows network services and network shares. The last module covers Azure and DSC, where you will use Azure on PowerShell and DSC to easily maintain Windows servers.
Table of Contents (21 chapters)
Title Page
Credits
About the Author
Acknowledgment
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Securing Hyper-V host


With server virtualization becoming more and more the norm, managing groups of Hyper-V Servers can be simplified by using VM groups. VM Groups are a new feature in Windows Server 2016 that allows you to create and use groups of servers. Server 2016 supports two different types of VM Groups: VM collection groups and management collection groups. A VM collection group is a collection of Hyper-V VMs. You can carry out tasks on the groups rather than on each individual VM. A management collection group is a collection of VM collection groups and other nested management collection groups. VM groups are especially useful for backups and for VM replication. In backup situations, a number of VMs making up a multi-tier application need to be backed up together.

In this recipe, you create a VM collection group containing two servers. Then you set the MAC addresses used by the two servers and you enable host resource protection.

Getting ready

This recipe assumes you have two servers...