I'm kinda new to this, so forgive my ignorance:
I've got a fairly vanilla Server 2019 image available for deployment via PXE boot on my WDS server. What I'd ultimately like to do is have this available to be used on a Hyper-V host and on any guest VMs on that host. However, since it could be used as the base installation of a Domain Controller, File Server, App Server, etc., I have not installed a lot of server roles on the base image.
I know I can install roles via Powershell using Install-WindowsFeature, but is there a way in MDT to let me pick which ones to install? For example, during the deployment, can I have a check box next to a "Install Domain Controller Roles" and another next to "Install Print Server Roles" or whatever, and depending on which box I check, the appropriate Powershell command is run during the Post Install Task Sequence in MDT?
Does that question make sense? It makes sense in my head, but my head is a strange place at times.
Thanks!
Best,
JRB

