I have VI Toolkit v1.5 installed. Been looking through the cmdlet reference and can't see a cmdlet that would allow me to copy a file from host to guest.
Is there a way to do this that I am missing?
Using the VIX api I could call the CopyFileFromHostToGuest() function.
With VITK 1.5 there is no such cmdlet available. It is in our roadmap for one of the upcomming releases.
If you want a PowerShell-based solution you can use until we have this as a cmdlet, check out this blog entry.
Thanks for the reply.
I had started creating my own cmdlet to copy files based on a VIX wrapper I had written ...
Just to confirm, the cmdlet add-type is only available in Powershell v2 right? Otherwise this would be an interesting alternative.
Yes, Add-Type is v2 only.