Again though for a production script where you would probably be doing more logging you'd want some more code in there for @ERROR results and on what system it failed, etc.. and then log that to a report.