The specified date/time is not in a format recognized by the current culture


I’m getting an error on one of the machines which is in the title.
Also here’s the image of the error. I have looked into the script and it seems okay to me. Any suggestions or how to fix it?


What commandline is throwing that issue?

Taking a guess: You are running windows 7/8/10 English but you’ve changed the default date/time format in control panel. If you want help you’ll need to provide more info:
-Windows version
-SCCM version
-PSADT version (that way we can look up line 5543 ad determine what function it’s part of)
-What are you doing to cause this?