HyperVDsc
HyperVDsc copied to clipboard
Initialize a VHD
I'm using the HyperVDsc module to automatically create Hyper-V VMs and create/attach VHD to the VM. However, currently I have to login to the VM to bring the disk online and initialize. Can this be done within the HyperVDsc module?
See if the DSC resource Disk in StorageDsc can help you https://github.com/dsccommunity/StorageDsc/wiki/Disk.