1
0
mirror of https://github.com/jaapbrasser/SharedScripts.git synced 2026-04-18 19:01:56 +02:00

Fixed logic in script

This commit is contained in:
Jaap Brasser
2019-08-12 17:35:37 +02:00
parent e58e34d6cd
commit e8208a87a9
+1 -1
View File
@@ -32,7 +32,7 @@ Thursday, August 8, 2019 8:31:36 PM
}
process {
$NewDateTimeString = "Thu Aug 08 20:31:36 UTC 2019".Substring(4) -replace 'UTC '
$NewDateTimeString = $DateTimeString.Substring(4) -replace 'UTC '
$MonthHash.GetEnumerator() | ForEach-Object {
$NewDateTimeString = $NewDateTimeString -replace $_.Key,$_.Value
}