MO
Size: a a a
MO
MO
M
VB
[K
MO
MO
J
J
J
If ($Critical.Reason -notlike "*memory*" -or $FaultType -notlike "*Volume Capacity*") {
$report += "<p style=""font-size:16px""><B>Storage Spaces Direct Cluster @ $ClusterName is in Critical Severity State! </B><br><br>" + ( $Critical | `
Select-Object @{ Expression = { $Critical.PerceivedSeverity }; Label = "Severity" }, `
@{ Expression = { $Critical.FaultingObjectDescription }; Label = "Faulty Object Description" }, `
@{ Expression = { $Critical.FaultingObjectLocation }; Label = "Faulty Object Location" }, `
@{ Expression = { $FaultingObjectType }; Label = "Faulty Object Type" }, `
@{ Expression = { $Critical.FaultingObjectUniqueId }; Label = "Faulty Object" }, `
@{ Expression = { $FaultType }; Label = "Faulty Type" }, `
@{ Expression = { $Critical.Reason }; Label = "Reason" }, `
@{ Expression = { $Critical.RecommendedActions }; Label = "Action" } `
| ConvertTo-HTML -Fragment ) + " <br>"
}J
J
If ($Critical.Reason -notlike "*memory*" -or $FaultType -notlike "*Volume Capacity*")объединить проверку по 2м переменным?
J
MO
MO
J