Trying to create. initialize, and format VHD disks
问题 Some background: I work in a lab environment and have a number of issues that come through that require VHDs to be created and attached to VMs for stress testing. I have come up with a script that allows the user to make the process as simple as possible, which is the following: $vms=Get-VM $val = 0 Write-Host "This script is set up for quickly creating and initilizing VHDs" $Path = Read-Host "Please enter the path you want to create the drives to. Use the formate in this example <E:\VHDS\>"