PowerShell FILETIME conversion
I intend to write about the uses of PowerShell on live systems investigations at a later date, for now thought I thought it worth sharing a useful time conversion.
If you come across a windows FILETIME and would like it in a human readable format, you can use the following via PowerShell:
[DateTime]::FromFileTime(<FILETIME>)
The Windows FILETIME is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).
e.g.
PS C:\> [DateTime]::FromFileTime(130689408926752346)
20 February 2015 21:21:32
Comments
Post a Comment