Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

Copy-VMGuestFile cmdlet when copying many files creates as many folder as files with the same name.

$
0
0

Hi there,

 

Today I've updated my PowerCLI system from 4.1.1 to 5.1.0 Release 2, and I've got a problem with cmdlet Copy-VMGuestFile, the same problem that was written in this discussion: Copy-VMGuestFile creates superfluous folders

I'm invoking a command that's copying files from shared disk to an VM:

 

Copy-VMGuestFile -LocalToGuest -Source "C:\powcli41.txt" -Destination "C:\Users\unittester\Desktop\powcli41.txt" -VM VMName -GuestUser domain\username -GuestPassword password -HostUser username -HostPassword password -force 

 

It's the same line like in that discussion, for every file that is in source, it creates at destination a folder with full name of destination, and in that folder it place it copies that file, instead of copying only a file (without creating an folder).

 

Is there any progress in fixing it, any ETA ?

 

I've wanted to update to 5.1.0 because I've heard that i some cases it's much faster than 4.1.1 version.

 

Best Regards,

Maciek


Viewing all articles
Browse latest Browse all 176483

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>