does AzCopy have an exit code which can be used to throw error in a PowerShell script
问题 Like Robocopy (http://ss64.com/nt/robocopy-exit.html) does Azcopy have an exit code. If not what would be the best way to throw error for Azcopy when transfer was not successful inside a PowerShell script. 回答1: Exit code 0 means transferring succeeded, other exit codes means different kinds of error in AzCopy. Currently we haven't officially announced meaning of all error codes. 来源: https://stackoverflow.com/questions/37746054/does-azcopy-have-an-exit-code-which-can-be-used-to-throw-error-in