Hello everyone - is it possible to rename multiple datastores? i was able to find one-liner code which can rename datastore one by one. but can someone help me if we can rename multiple datastores at the same time? Thank you!
No, afaik the base API method RenameDatastore handles 1 datastore at the time.
That method is available though with the _Task suffix, meaning that it can be run async.
So you could start a number of rename tasks in the background.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
No, afaik the base API method RenameDatastore handles 1 datastore at the time.
That method is available though with the _Task suffix, meaning that it can be run async.
So you could start a number of rename tasks in the background.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks LucD for the confirmation! this helps!