0 Replies Latest reply on Apr 18, 2017 8:57 AM by paulrg

    Can not access RecentVCloudServers.xml file

    paulrg Enthusiast

      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