Wrap #sa rs PowerShell scriptlets in a try/catch and return error.

This should make internal PowerShell exceptions that bubble up to
the top level scriptlet visible, versus allowing them to be
silently swallowed (making it difficult to diagnose whether a
command actually worked and, if not, why it failed).