Created
April 4, 2024 22:16
-
-
Save daveRendon/a8c6aa2cc1ba1b35ccc1c7b904b9892b to your computer and use it in GitHub Desktop.
az104-08-vm0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-StoragePool -FriendlyName storagepool1 -StorageSubsystemFriendlyName "Windows Storage*" -PhysicalDisks (Get-PhysicalDisk -CanPool $true) | |
New-VirtualDisk -StoragePoolFriendlyName storagepool1 -FriendlyName virtualdisk1 -Size 64GB -ResiliencySettingName Simple -ProvisioningType Fixed | |
Initialize-Disk -VirtualDisk (Get-VirtualDisk -FriendlyName virtualdisk1) | |
New-Partition -DiskNumber 4 -UseMaximumSize -DriveLetter Z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment