added -erroraction flag to Invoke-Command