mattypenny

I forgot to remember that setting:

$ErrorView = ‘NormalView’

….gives you useful stuff like the line number of the code that’s failed in Powershell 7

about_Preference_Variables - PowerShell | Microsoft Learn