|
$Content = @(Get-Date -Format 'yyyy-MM-dd hh:MM:ss') |
The Write-FalconLog function is recording the time incorrectly in the FalconLog.
Currently line 158 is the following:
$Content = @(Get-Date -Format 'yyyy-MM-dd hh:MM:ss')
This produces the incorrect time. It's being recorded as Hours/Months/Seconds.
The correct syntax should be the following:
$Content = @(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')
In my opinion HH should be used to record in 24 format, instead of hh which is 12 hour format.
mm will produce the proper time in minutes, instead of the current month.