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

Re: import-module vmware.vimautomation.extensions fails to define Method: get_CreateDate'

$
0
0

Hi,

 

I'm trying to use the instantClone feature.

 

but when I run it returns this error followed by bunch more of them..

 

Placing vmParent in suspended state...

Enable-InstantCloneVM : The 'Enable-InstantCloneVM' command was found in the module 'VMware.VimAutomation.Extensions',

but the module could not be loaded. For more information, run 'Import-Module VMware.VimAutomation.Extensions'.

At C:\Users\Administrator\Desktop\instantClone.ps1:67 char:17

+ $parentForkVM = Enable-InstantCloneVM -VM $parentVM -guestUser $guest ...

+                 ~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Enable-InstantCloneVM:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

 

 

Press any key to spawn children ...

Spawning Child1

New-InstantCloneVM : The 'New-InstantCloneVM' command was found in the module 'VMware.VimAutomation.Extensions', but

the module could not be loaded. For more information, run 'Import-Module VMware.VimAutomation.Extensions'.

At C:\Users\Administrator\Desktop\instantClone.ps1:117 char:24

 

so I tried removing the alias for all of them then attempt to re-import the module then get the get_CreateDate error

remove-item alias:Enable-InstantCloneVM

...

Import-Module : Method 'get_CreateDate' in type

'VMware.VimAutomation.Extensions.InstantClone.Types.InstantCloneVirtualMachineImpl' from assembly

'VMware.VimAutomation.Extensions, Version=3.0.0.1649, Culture=neutral, PublicKeyToken=null' does not have an

 

 

you mentioned not supported vSphere..? I'm running 6.7.

what version would be supported? should I downgrade to 6.5?

 

thanks


Viewing all articles
Browse latest Browse all 231440

Trending Articles



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