Skip to content

Instantly share code, notes, and snippets.

@indy-singh
Created September 8, 2023 21:44
Show Gist options
  • Save indy-singh/582fb02f7ce8e4f98e4e7d30508ee826 to your computer and use it in GitHub Desktop.
Save indy-singh/582fb02f7ce8e4f98e4e7d30508ee826 to your computer and use it in GitHub Desktop.
$result = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defender\Signature Updates" -Name "SignaturesLastUpdated";
$thing = [System.BitConverter]::ToInt64($result.SignaturesLastUpdated, 0);
[DateTime]::FromFileTime($thing);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment