We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09b3f9b commit 9854622Copy full SHA for 9854622
1 file changed
SystemTester.ps1
@@ -523,7 +523,8 @@ function Test-Trim {
523
if ($_ -match "ReFS DisableDeleteNotify\s*=\s*(\d)") { $map["ReFS"] = $matches[1] }
524
}
525
$txt = $map.GetEnumerator() | ForEach-Object {
526
- "{0}: {1}" -f $_.Key, (if ($_.Value -eq "0") {"Enabled"} else {"Disabled"})
+ $status = if ($_.Value -eq "0") { "Enabled" } else { "Disabled" }
527
+ "{0}: {1}" -f $_.Key, $status
528
529
if (-not $txt) { $txt = @("TRIM status not reported") }
530
$script:TestResults += @{
0 commit comments