We have a DISKPART script that singles out drives and basically formats and assigns a drive letter to the particular drive we're looking at.
This is all VERY static configurations, in that we target DriveID 0, 1, 2 etc. Any time we need to change something, we need to update the script.
Is there a way to have DISKPART just go ahead and rip through all available drives and assign drive letters in sequence?
I've tried a VbScript to accomplish this, but if the obj.Drives.IsReady is false, there's not much I can do with the drive.
Would anybody happen to have any information on this sort of stuff? Basically, I'd like to take all physical drives that aren't currently assigned a drive letter - and assign them the next available one on the system. Including drives that are "offline", "not ready" or any other combination possible.