Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

The problem seems to be with what you have in $tgtFolder.
Is that a local, full path?
In other words something like <Drive-letter>:\<FolderName>

In that location the script will offload the VMX files.

The 2nd error is probably a result of the 1st error.

Since the files was not copied, there is nothing there.

You would need to provide a bit more information on the location where you want to store the VMX files.
And also on the DisplayName of the VM you are testing with.
Easiest would be to provide the full script as you are using it (including your changes)


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos