I have a code written in Powershell ISE to automate a daily data imports into SQL. See code below.
This code works and pulls in the column headers but it does not pul