$disques = Get-PhysicalDisk -CanPool $True

New-StoragePool `
-FriendlyName "POOL2" `
-StorageSubsystemFriendlyName "Windows Storage*" `
-PhysicalDisks $disques |

New-VirtualDisk `
-FriendlyName "DataDisk2" `
-Size 200GB `
-ResiliencySettingName "Mirror" `
-ProvisioningType Thin |

Initialize-Disk `
-PassThru |

New-Partition `
-AssignDriveLetter `
-UseMaximumSize ` |

Format-Volume `
-FileSystem NTFS `
-AllocationUnitSize 4096 `
-NewFileSystemLabel "UserData3"

Get-StorageSubSystem








