I figured it out myself. Setting the PLATFORMIO_CORE_DIR
pointing to my folder where the policies allow execution solves the issue. I set this value inside the standard Windows uservariables and then after this run the normal package installation process within VSCode.
1 Like