Scheduling scripts is a big part of a automation but you may be struggling to get your scripts working using the native task scheduler. This post covers how to get past the initial hurdles.
Scripting the creation of a Hyper-V VM using New-VM, Set-VM, and Connect-VMNetworkAdapter.
If you are building Windows Servers on a recurring basis you will want to start scripting parts of or all of the process. Installing Roles and Features is one of those parts. The below example covers installing the Hyper-V role via Powershell.
You may wish to script the process of setting up a disk volume. The example in this post covers initializing the disk using GPT, creating the partition using the maximum size on the disk, and then formatting the partition using NTFS.