Last active
November 28, 2023 01:44
-
-
Save mgreen27/d7bd2480069f714f31296d5f38fe7f0c to your computer and use it in GitHub Desktop.
Run-TCGLogTools in Velociraptor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a staging file for Running TCGLogTools in Velociraptor | |
Import-Module $Env:TCGLogTools | |
$TCGLog = ls $Env:TCGLogLocation | ConvertTo-TCGEventLog -MinimizedX509CertInfo | |
$TCGCurrentBytes = Get-TCGLogContent -LogType SRTMCurrent | |
$TCGLog = $TCGLog + $(ConvertTo-TCGEventLog -LogBytes $TCGCurrentBytes -MinimizedX509CertInfo) | |
$TCGLog | ConvertTo-Json -Depth 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment