HyperVDsc icon indicating copy to clipboard operation
HyperVDsc copied to clipboard

Initialize a VHD

Open ruscott2009 opened this issue 2 years ago • 1 comments

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?

ruscott2009 avatar Dec 07 '23 20:12 ruscott2009

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

johlju avatar Dec 08 '23 17:12 johlju