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

Re: vm clone scipt error

$
0
0

Thanks for the quick response..

I have tried a reboot I am still getting issues. All I want to be able to do is clone all vms with on data store to another datastore.

oh another question, both datastores have to connected to the same datastore?

 

 


Name                                      Port                                      User
----                                      ----                                      ----
vcenter                                   443                                       serv_vmware
Cloning gbvm014098 to backup_gbvm014098_2013-07-25
New-VM : 25/07/2013 15:55:03    New-VM        The operation for the entity VirtualMachine-vm-40472 failed with the following
message: "The operation is not supported on the object."
At C:\Hyper-v\change.ps1:104 char:10
+    New-VM <<<<  -name $vmtarget -vm $vm -vmhost $targethost -datastore $datastore -Location $targetlocation -DiskStorageFo
rmat thin
    + CategoryInfo          : NotSpecified: (:) [New-VM], NotSupported
    + FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed,VMware.VimAutomation.ViCo
   re.Cmdlets.Commands.NewVM

Get-VM : 25/07/2013 15:55:03    Get-VM        VM with name 'backup_gbvm014098_2013-07-25' was not found, using the specified
filter(s).
At C:\Hyper-v\change.ps1:109 char:11
+ if (get-vm <<<<  $vmtarget) {
    + CategoryInfo          : ObjectNotFound: (:) [Get-VM], VimException
    + FullyQualifiedErrorId : Core_OutputHelper_WriteNotFoundError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM


Viewing all articles
Browse latest Browse all 214415

Trending Articles



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