I have a Powershell script that gets a list of files from a SQL PROC.
For each file, it then moves a file, then updates a DB record, then inserts a DB record.
How can I encapsulate the whole process (IO File Operation, plus the two SQL o
For each file, it then moves a file, then updates a DB record, then inserts a DB record.
How can I encapsulate the whole process (IO File Operation, plus the two SQL o