18CREATING AND CONFIGURING A SQL SERVER
So far, you’ve created a module that can create a VM, attach a VHD to it, install Windows, and create (and populate) an Active Directory forest. Let’s add one more thing to that list: deploying a SQL server. With a VM provisioned, an OS installed, and a domain controller set up, you’ve done most of the hard work! Now you just need to leverage your existing functions and, with a few tweaks, you’ll be able to install a SQL server.
Prerequisites
Throughout this chapter, I’m assuming that you’ve been following along in Part III and have created at least one VM called LABDC that’s running on your Hyper-V host. ...
Get PowerShell for Sysadmins 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.