That works! Thanks!
But now it is the second time, that solutions provided by knowledgeable "Veem software" people works for their environment, but not on mine, so yesterday I open a case (# 00844975), but the support says to refer to forum for suggestions about scripting.
What environment are you using? I have the latest version 126.96.36.1997.
Maybe during the update from the version 7 something went wrong, or maybe something need to be done to update the powershell,
Running $PSVersionTable.PSVersion I get:
Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1
Thanks in advance