dsccommunity / HyperVDsc

This module contains DSC resources for deployment and configuration of Microsoft Hyper-V.
MIT License
114 stars 65 forks source link

Initialize a VHD #213

Open ruscott2009 opened 11 months ago

ruscott2009 commented 11 months ago

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?

johlju commented 11 months ago

See if the DSC resource Disk in StorageDsc can help you https://github.com/dsccommunity/StorageDsc/wiki/Disk.