After upgrading to version 2025.1 we need to rewrite al lot of powershell scripts.
We have a problem with using the ConfluencePS powershell module that is used to write info to Confluence.
When we run the scripts on our pc under Powershell V7, all is working fine but when running them in Adaxes they all give an error.
With a test script that only does: Import-Module -Name 'C:\program files\powershell\7\Modules\ConfluencePS\2.5.1\ConfluencePS.psd1'
We get the following error:
PowerShell script 'test Wim' produced the following output: Could not find a part of the path 'C:\Program Files\Softerra\Adaxes 3\Service\ref\System.Runtime.dll'. Stack trace: at <ScriptBlock>, C:\program files\powershell\7\Modules\ConfluencePS\2.5.1\ConfluencePS.psm1: line 4
at <ScriptBlock>, <No file>: line 1
Can you explain what is going wrong here as the PS Module does work on other PS V7 environments?