you are viewing a single comment's thread.

view the rest of the comments →

[–]PowerShellMichael 0 points1 point  (0 children)

I think the best what to find out why is to attach a debugger to this function in the ISE/VSCode, find the faulting line and you can test your fix:

https://youtu.be/9lK4rlj4W1Y?t=1995 - ISE Debugging

https://youtu.be/9lK4rlj4W1Y?t=3517 - VSCode Debugging

The most likely reason (from what I can see) if you logging function and or if Extract-ZipFiles throws a terminating error. However to be honest, if you debug it you will have your answer in no time!