How it works...

In step 1, you examine the Hyper-V host to check to see the status of the VM DC1. This VM is the VM that serves as the first Domain Controller in the Reskit.Org's Active Directory forest. You create this domain controller in the recipe Installing domain controllers in Chapter 8, Managing Windows Network Services. As you can see from step 1, your DC1 virtual machine is up and running:

With step 2, you use Wbadmin to back up the DC1 virtual machine. The output looks like this:

The arrow in the above screenshot points to the line ...

Get Windows Server 2016 Automation with PowerShell Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.