I am at a “dead end” with my powershell script. It executes correctly but it takes to long to execute. (about 7days since it does millions of DML operations on a SQL Server Database).
Problem is the 7 days it takes isn’t acceptable and i need to reduce it to 2 days at max…
Can anyone point me on where i can start looking to solve this?
Would post the whole code but its around 600 lines.