VMware Cloud Community
callmeseb
Contributor
Contributor

vMotion & Storage vMotion via vCenter API ?

Team,

Is it possible to execute vMotion and Storage vMotion via vCenter API ? I'm trying to investigate whether it's possible to trigger vMotion from the northbound CRM system. If yes, do you have by chance sample code snippets ?

Sebastian

0 Kudos
1 Reply
FranckRookie
Leadership
Leadership

Hi Sebastian,

Have a look at the Move-VM cmdlet from vSphere PowerCLI:

You should also read this thread for some example:

Hope it helps.

Regards

Franck

0 Kudos