Hello,
It runs under domain admin account and I made sure the account is also a member of the local administrator group.
Other scripts that runs with PowerShell using the same methods are working fine, I don't know what is the issue with the PowerCLI script.
Thanks,
Hussain