PowerCLI

 View Only
  • 1.  Access to path is denied

    Posted Sep 24, 2018 04:08 PM

    Hello all,

    Since we have upgrade in 6.5 version we haven't the possibility to export a VM at OVA  format with the web client or any GUI client.

    It seem-s to be possible with the PowerCli like this :

    Get-VM <VMName> | Export-vApp -Destination "D:\" -Format OVA

    But when i execute the command the error "Access to the path "d:\" is denied"

    Have you an idea this issue ?

    Thx



  • 2.  RE: Access to path is denied

    Posted Sep 24, 2018 04:39 PM

    Could it be that you do not have the right to create a file in the root of the drive?

    Can you try with a folder on the drive?



  • 3.  RE: Access to path is denied

    Posted Sep 25, 2018 07:35 AM

    Hello,

    I have take another account, and unsucribe AdmLAS :smileywink:

    I will try today with my account if i have the writh to create a VM, but i think yes my account have the writh of Domain Admin and Admin on vCloud / vSphere.

    I come back :smileywink:



  • 4.  RE: Access to path is denied

    Posted Sep 25, 2018 07:41 AM

    What I meant was, can you create a file in the root of that drive (D:\).

    As an alternative you could try with a folder (D:\OVA)



  • 5.  RE: Access to path is denied

    Posted Sep 25, 2018 08:47 AM

    Yes i had create a file and repository before.

    Now i create a VM with the command :

    New-VM TestAccess -RessourcePool ***** -Name *****

    So i have some writh.



  • 6.  RE: Access to path is denied

    Posted Oct 13, 2018 06:23 AM

    I had this same problem and had to go through extraordinary pain to move the source files. Is a fix coming soon?

    ____________________________________________________________________________________________

    mcdvoice



  • 7.  RE: Access to path is denied

    Posted Oct 15, 2018 05:06 PM

    I've seen this too, but I think its more of a powershell vs powercli issue. I have full admin rights on my machine, I have full access to the C:\ root, and I see this message. I just create a sub folder with full access at it seems to work.