Tony OgilvieApr 10, 20211 min readUsing PowerShell to send a warning email if a long-running script has thrown an errorIf you're like me, you may need to run long-running PowerShell scripts to do various things in SharePoint, like updating large SharePoint...