I have created powercli script to create VM using template and it is working fine if i create on same vCenter.
But i have multuple vCenter and i want to create VMs using same template, how can i perform it?
You can store those templates on a dedicated, shared datastore.
This could for example be a NFS share.
Another option is to use Content Libraries.
One published content library to hold the templates, and then eventually subscribed content libraries that synchronise automatically.
See Synchronize a Subscribed Content Library
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference