Chapter 20. Building a demo environment

Sometimes the best way to troubleshoot something is to avoid problems in the first place. Complex Hyper-V configurations can be time consuming to set up manually and can lead to issues that are hard to troubleshoot. Windows PowerShell is useful because you can use it to automate the configuration process to ensure it’s free of errors. Of course that means your Windows PowerShell commands and scripts must also be free of errors.

A good way to learn how to create error-free configuration scripts is to study and then customize scripts created by experts. In this section Jose Barreto provides an in-depth look at the scripts he uses to set up a demo environment for a fault-tolerant Hyper-V over SMB 3.0 infrastructure ...

Get Optimizing and Troubleshooting: Hyper-V Storage now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.