So, I basically went dark, still busy as fuck with an project at work.
But, I did what was thought was impossible after nearly 3 days of trying various methods, now, the task of actually implementing it. Dry run was not promising. Speed is a problem. Need to rewrite portions of the script to reduce memory/disk IO footprint.
Doesn't help that the error log was over 30MB in size.
I had originally been holding the errors in a custom Powershell object so I could manipulate the data later as needed and act against it to handle errors intelligently. That method is definitely not going to work. I need to cut the Powershell array down to bare minimum's to keep its memory footprint down, and write everything else out to a transaction log in CSV format.
The good news, I already know how to do all of that already. I'm annoyed that I have to though. Transaction logs are a pain if I need the script to do anything with it post process to automatically handle certain things. And I didn't want to get too complex with the functions because this project is essentially a one and done. Everything I do here, will get used for the project, and then never used again.
On the FUN side of things.
The SN850 2TB SSD's are dropped in price MAJORLY.
$270 on Amazon! Gonna look at the reviews and see if anything has changed. I seem to remember the KC3000 and Seagate Firecuda 530 getting some good reviews.
WD_BLACK 2TB SN850 NVMe Internal Gaming SSD Solid State Drive - Gen4 PCIe, M.2 2280, 3D NAND, Up to 7,000 MB/s - WDS200T1X0E
by Amazon.com
Learn more:
https://www.amazon.com/dp/B08KFRFL8F/?tag=tcg21-20