Trying direct line-match to clearly identifies the exact line that reads "Bill to" to avoid false matches. Next non-empty line: Reliably grabs the immediate next line with actual content as the customer's name. Filename safety: Removes characters Windows doesn't allow in filenames. Error and file existence handling: Provides informative messages if conflicts or errors occur.
invoice_renamer
Powershell script to rename invoices based on who they're being sent to
Languages
PowerShell
100%