[platform] ignoring "unknown drive" problems in the Defender configuration script (IJPL-37014)

GitOrigin-RevId: fbbaef70510d71c24d054851872118e32430bde4
This commit is contained in:
Roman Shevchenko
2024-04-24 14:44:35 +02:00
committed by intellij-monorepo-bot
parent cfd0a544b6
commit 33df479eb8

View File

@@ -27,7 +27,9 @@ try {
return $true
}
}
} catch [System.Management.Automation.ItemNotFoundException] { }
} catch [System.Management.Automation.ItemNotFoundException] {
} catch [System.Management.Automation.DriveNotFoundException] {
}
}
return $false