Hi Luc
I don't explicitly import the module, only here to show case the issue. The original commandlet I used where is failed is Get-VICredentialStoreItem, but also Connect-OMServer does it and others (and here I do not import the module - The orginal script is more than 2000 lines of code so not something I can or will share here
). That is why I started testing with import-module.
The VMware.PowerCli module(s) are in path $env: PSModulePath.
CEIP was been disabled for all users, so that should not be an issue and havn't been before.
Testing with "import-module VMware.PowerCli -force | Out-Null" does not work, same issue.
My laptop is running PowerCli 12.0.5 19195797 and the problem does not seem to be in this version.