Added -ErrorAction Stop to Test-Path
Added -ErrorAction Stop to Test-Path

- If user running the command don't have access to the share (using
BackupRestore, for example) will output ugly red error message. This way
will print a nice warning!

alevyinroc/dbatools,Splaxi/dbatools,sqlpadawan/dbatools,wsmelton/dbatools,SirCaptainMitch/dbatools,dsolodow/dbatools,kozloski/dbatools