Upload files to ''

This commit is contained in:
Ekranoplan committed 2023-06-21 08:28:55 +00:00
1 parent 401da0beee
commit 23129ed030
2 files changed
+1810

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
$TCGLogBytes = Get-TCGLogContent -LogType SRTMCurrent
$TCGLog = ConvertTo-TCGEventLog -LogBytes $TCGLogBytes
$PCR4 = $TCGLog.Events.PCR4
foreach ($Event in $PCR4) {
if ($Event.EventType -eq "EV_EFI_BOOT_SERVICES_APPLICATION") {
$DevicePath = $Event.Event.DevicePath
if ($DevicePath -is [array]) {
foreach ($Device in $DevicePath) {
if (($Device.Type -eq "MEDIA_DEVICE_PATH") -and ($Device.SubType -eq "MEDIA_FILEPATH_DP")) {
Write-Host "Boot application:", $Device.DeviceInfo.PathName
}
}
} else {
$PathName = $DevicePath.DeviceInfo.PathName
Write-Host "Boot application:", $PathName
}
}
}
+1792
View File
File diff suppressed because it is too large. Load diff