mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-04 23:59:08 +00:00
Add files via upload
This commit is contained in:
parent
f5e37ff51a
commit
f19942f746
7
Allfiles/Labs/08/lab08diskcode.txt
Normal file
7
Allfiles/Labs/08/lab08diskcode.txt
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user