diff --git a/Allfiles/Labs/08/lab08diskcode.txt b/Allfiles/Labs/08/lab08diskcode.txt new file mode 100644 index 00000000..b41765c3 --- /dev/null +++ b/Allfiles/Labs/08/lab08diskcode.txt @@ -0,0 +1,7 @@ +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 \ No newline at end of file