70-740, Teil 2.2.3. Speicherpools erweitern

70-740, Teil 2.2.3.

Speicherpools erweitern

Ideen für die Recherche im Web:

Zum Nachschlagen:

https://docs.microsoft.com/en-us/powershell/module/storage/add-physicaldisk?view=win10-ps

https://www.youtube.com/watch?v=dd7pZfmu4QU

Übungen:

$var_cmd_commands=@(
‚create vdisk file=C:\ISOs\Speicherpool-Festplatte-P.vhdx maximum=100000 type=Expandable‘
’select vdisk file=C:\ISOs\Speicherpool-Festplatte-P.vhdx‘
‚attach vdisk‘
‚create vdisk file=C:\ISOs\Speicherpool-Festplatte-Q.vhdx maximum=100000 type=Expandable‘
’select vdisk file=C:\ISOs\Speicherpool-Festplatte-Q.vhdx‘
‚attach vdisk‘
‚exit‘
)

$var_cmd_results = $var_cmd_commands | diskpart

$var_cmd_results

$var_PhysicalDisks = (Get-PhysicalDisk -CanPool $True | where {$_.PhysicalLocation -eq „C:\ISOs\Speicherpool-Festplatte-Q.vhdx“}) ; $var_PhysicalDisks

$var_PhysicalDisks.PhysicalLocation

Get-StoragePool

$var_StoragePool = Get-StoragePool -FriendlyName SpeicherpoolParity1

Get-VirtualDisk

Get-VirtualDisk -FriendlyName vDisk1

Add-PhysicalDisk -PhysicalDisks $var_PhysicalDisks -StoragePoolFriendlyName $var_StoragePool.FriendlyName

Get-StoragePool -FriendlyName SpeicherpoolParity1 | fl *

Get-StoragePool | where {$_.FriendlyName -eq „SpeicherpoolParity1“}| ft

Get-StoragePool -IsPrimordial $False | get-PhysicalDisk | ft PhysicalLocation

Get-StoragePool

Get-StoragePool SpeicherpoolParity1 | Get-PhysicalDisk