I am running into the following issue.
When OneDrive is up and running the DLL works flawlessly and creates the requested output.
But if the OneDrive client (Personal and Corporate) is paused the error: Fatal error. System.AccessViolationException is given everytime.
The issue I am running into is that is crashes the complete PowerShell proces so there is no way to use error handeling to catch the error and continue the script.
Anyone any suggestions on how to catch this error?
The complete error log can be provided if this is neccesary.
I am running into the following issue. When OneDrive is up and running the DLL works flawlessly and creates the requested output. But if the OneDrive client (Personal and Corporate) is paused the error: Fatal error. System.AccessViolationException is given everytime. The issue I am running into is that is crashes the complete PowerShell proces so there is no way to use error handeling to catch the error and continue the script. Anyone any suggestions on how to catch this error?
The complete error log can be provided if this is neccesary.