Closed SimeonGerginov closed 4 years ago
Example usage of DRSRule DSC Resource:
DRSRule DRSRule {
Server = $Server
Credential = $Credential
Name = 'DscDrsRule'
DatacenterName = 'Datacenter'
DatacenterLocation = ''
ClusterName = 'DscCluster'
ClusterLocation = ''
DRSRuleType = 'VMAffinity'
VMNames = @('DscVM1', 'DscVM2')
Ensure = 'Present'
Enabled = $true
}
Added