Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: Invoke-vmScript giving Error

$
0
0
Yes still persisits
PS E:\Scripts> Get-VMLog -VM EQ2 -Path "C:\LogsVNM"
Copy-DatastoreItem : 3/1/2013 12:02:48 PM    Copy-DatastoreItem        Cannot find path 'MyDS1757990212:\EQ2' because it does not exist.   
At E:\Scripts\Get-VMLog.ps1:43 char:23
+     Copy-DatastoreItem <<<<  -Item ($drvName + ":" + $vmPath + "*.log") -Destination ($Path + "\" + $obj.Name + "\") -Force:$true
    + CategoryInfo          : InvalidArgument: (System.Object[]:Object[]) [Copy-DatastoreItem], VimException
    + FullyQualifiedErrorId : Core_CopyDatastoreItem_TryValidateSourceItem_InvalidSourceItem,VMware.VimAutomation.ViCore.Cmdlets.Commands.CopyDatastoreItem

Viewing all articles
Browse latest Browse all 252940

Trending Articles



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