1 person found this helpful
I've asked the same, but not all Internal APIs are ready or for public consumption. You can find a bit more details in this document from some of the digging I've done with the internal APIs - How to browse the internal vSphere APIs
VMware extensively uses NFC to primarily to import/export VMs in the OVF format and as referenced in the internal API document, there are a few dedicated NFC methods/etc that aren't exposed in the public facing APIs.
Though for general file management, you should be able to accomplish majority of the tasks using fileManager and if I'm not mistaken, there should be some PowerCLI cmdlets that also implement this I believe. I'm sure the PS master's can confirm on this
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
If you find this information useful, please award points for "correct" or "helpful".
Yes, there is a PowerCLI cmdlet that copies files, it's called Copy-DatastoreItem.
But there were reports of some problems.
And you could use the datastore provider. See chapter 3 in the vSphere PowerCLI Administration Guide.
But as Carter already mentioned, this is apparently not ready for production in the current build.
You might also have a look at the Copy-TkeDatastoreFile function in the Community Extensions.
That provides a HTTP-based transfer.
Blog: LucD notes