I had vaguely assumed that the ExecutionStatus in #Powershell’s get-history would show as ‘Failed’ if there was an error, but it doesn’t

Id : 31 CommandLine : ThisWontWork ExecutionStatus : Completed StartExecutionTime : 17/05/2018 09:06:16

Contents