With Storage Spaces, if you want to re-use a drive in a new PC the drive will recall the last Pool it was a member of. When you try to erase the disk the following error is shown:
Error deleting virtual disk: The storage pool could not complete the operation because its configuration is read-only.
Get the name of the Storage Pool, also known as the friendly name – for example ‘Pool 1’. Then run in PowerShell:
Get-StoragePool –FriendlyName “Pool 1” | Set-StoragePool –IsReadOnly $false
Then you can delete the storage pool:
Get-StoragePool –FriendlyName “Pool 1” | Remove-StoragePool
The Disk can now be used as a normal drive.