I needed to set up the Backblaze B2 command-line tool to remove unfinished files, also known as failed uploads. The only way to clear out “unfinished files” is to run their designated script from the command line. If you don’t, you will end up using up a lot more space and money than you want. Backblaze has a write-up on…
Category: Scripts
Send an Email Using Command Prompt or Batch File Script with PowerShell
This will allow you to to call a powershell script from a batch file that creates and sends an email. You will need: SMTP Outgoing Server SMTP Outgoing Credentials Apply this line to any Batch file line. Our example: robocopy C:\Data D:\Data /L /MIR /Z /Copy:DAT /DCOPY:T /J /mt /tee /r:1 /W:1 /ETA /xd “$RECYCLE.BIN” /log+:”C:\RCLogs.txt” PowerShell.exe -NoProfile -ExecutionPolicy Bypass…