I've tried the following
But I get the following error
Method invocation failed because [Softerra.Adaxes.Adsi.Scripting.ExecuteScriptContext] does not contain a method named 'EnableRemoteMailboxEx2'. Stack trace: at <ScriptBlock>, <No file>: line 58
We're running Adaxes 3.14.19312.0 which from what I can see is the latest version, am I missing something or does this need to be done differently?