Currently, the script will use the `-ErrorRecord` but show only the scriptstacktrace of the message, not the record