Created
April 4, 2024 22:17
-
-
Save daveRendon/ea29537e928c7d6d2c0f085e39a07afe to your computer and use it in GitHub Desktop.
az104-08-vm1
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 2046GB -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