Powershell_01 click "create new pool and storage space" and select the hard drive to create a storage space. if it is not formatted, it will be asked to format it first. the powershell command for formatting is: format-volume -driveletter 'drive letter' -filesystem ntfs -confirm:$false -force after selecting the hard drive, the ui will be taken directly to the location where the storage space is created.
click the cancel button first. this will leave you with a storage pool that does not yet have storage space. the powershell corresponding to the above my board action is specified as $physicaldisks = (get-physicaldisk -canpool $true)new-storagepool -friendlyname storage pool name -storagesubsystemfriendlyname “windows storage*” -physicaldisks $physicaldisks next, we will introduce how to add a storage space.
After clicking create storage space in the ui, you will enter the following ui. powershell_02 can be changed name, just choose a suitable and identifiable name. disk drive code, unused drive code will be automatically brought in here file system,to choose from, most of them choose ntfs redundant systems include simple (no redundant), two-way mirroring, three-way mirroring, and co-located simple (no backup): only one piece of data will be written to the storage space.