You can enable Storage Policy-Based Management (SPBM) on a cluster and also verify that it is enabled.
Verify that you are connected to a vCenter Server system.
Verify that a storage provider is registered with the vCenter Server system.
Verify that a cluster named Vsan-Cluster exists in the vCenter Server environment.
Get the Vsan-Cluster cluster and store it in the $cluster variable.
$cluster = Get-Cluster -Name 'Vsan-Cluster'
Enable SPBM on the $cluster cluster.
Set-SpbmEntityConfiguration $cluster -SpbmEnabled $true
Verify that SPBM is enabled on the cluster.
Get-SpbmEntityConfiguration -Cluster $cluster