VMware Cloud Community
paulrg
Contributor
Contributor

Can not access RecentVCloudServers.xml file

I have a single Windows 2008 R2 machine which acts as a central host (ElectricFlow Agent machine) where PowerShell scripts are executed. These power shell scripts are using the VMWare PowerCLI to perform vCloud Director operations.

Mulitple PowerShell scripts could be executed at the same time.

I am receiving the following message during our automation processes.

WARNING: The process cannot access the file

'C:\Users\xxxxxxx\AppData\Roaming\VMware\PowerCLI\RecentVCloudServers.xml'

because it is being used by another process.

I assume this is because the PowerCLI scripts are recording the vCloud Server access count in this filem, and two scripts are trying to do this at the same time.

Is there anyway to turn off this count? Any other suggestions?

Thanks

Paul

Tags (2)
Reply
0 Kudos
0 Replies