This was such an annoying thing. I’ve hit it so many times when logging with my tools. When @panusaukko.bsky.social mentioned it, I thought “Hold my beer”. And yeah, there is (\). So simple, but you don’t see it until you’ve smashed your head on the wall enough. (Or ask your AI buddy next time 😂)
If you run get-date -format "HH:mm:ss.ffff", the hours/min/sec separator might be different between #PowerShell 5 and 7. At least with my Finnish regional settings. But you can enforce the separator: get-date -format "HH\:mm\:ss\.ffff" Thank you @intune.ninja for the tip!