https://wapt.tranquil.it/store/fr/tis-audit-bitlocker
He notado una serie de falsos positivos cuando se conecta un disco duro USB externo.
De hecho, para excluirlos se utiliza:
Código: Seleccionar todo
if run_powershell("Get-Volume -DriveLetter %s | Where-Object DriveType -EQ Removable" % mountpoint.replace(":", "")):Código: Seleccionar todo
Get-Volume -DriveLetter E
DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Size
----------- ------------ -------------- --------- ------------ ----------------- ------------- ----
E FREECOM FAT32 [b]Fixed [/b]Healthy OK 536.38 GB 931.28 GB
Código: Seleccionar todo
if run_powershell("(Get-PhysicalDisk | Where-Object BusType -EQ USB | ForEach-Object { Get-Disk -Number $_.DeviceId | Get-Partition | Get-Volume } | Where-Object DriveLetter -EQ '%s').DriveLetter -ne $null" % mountpoint.replace(":", ""))
