Cannot create a folder on the partition that was just created within a DSC script
问题 I'm trying to use DSC to format drives and create a certain folder structure on newly formatted drives. Right after I've created a partition, formatted a disk and gave it a drive letter I'm trying to create a folder using the new disk path however I'm receiving Cannot find drive. A drive with the name 'K' does not exist types of errors on New-Item call. This code is an example of one executed within a Script DSC: $someDiskNumber = 3 # for the sake of testing Initialize-Disk -Number