Invoke-Command NODE1,NODE2 { 
Install-WindowsFeature FS-FileServer,Failover-Clustering,Hyper-V `
-IncludeAllSubFeature `
-IncludeManagementTools 
}

Invoke-Command NODE1,NODE2 { Restart-Computer }

Test-Cluster  -Node NODE1, NODE2 -Include "Storage Spaces Direct", "Inventory", "Network", "System Configuration"  

New-Cluster `
-Name Direct-Cluster -Node NODE1,NODE2 `
-StaticAddress 192.168.108.99 `
-NoStorage

Get-Cluster -Name Direct-Cluster

Set-ClusterQuorum `
-Cluster Direct-Cluster `
-FileShareWitness \\DC-ecole\temoin

Set-ClusterQuorum -Cluster Direct-Cluster -FileShareWitness \\DC-ecole\temoin

Enable-ClusterStorageSpacesDirect `
-CimSession Direct-Cluster `
-CacheState Disabled

New-Volume `
-CimSession Direct-Cluster `
-FriendlyName Direct-Volume `
-StoragePoolFriendlyName S2D* `
-FileSystem CSVFS_ReFS `
-Size 100GB

