>>>>> On Thu, 11 Aug 2011 10:30:49 +0200, Olivier Cochard-Labbé said: > > 2011/8/11 Nikolay Igotti <[email protected]>: > > Hi Oliver, > > > > Have you considered using search engines? For example > > http://weblogs.asp.net/soever/archive/2006/12/11/powershell-and-using-net-enum-types.aspx > > is the first hit on Google. For us typelib prefix is likely > > VirtualBox.VirtualBox. > > Hi Nikolay, > > Thanks but I already know the given URL, and this article explain only > how to use enum type in PowerShell. > My question was "How to use the enums types included in the VirtualBox > COM API with PowerShell?". > Because [VirtualBox.VirtualBox.StorageBus] neither [VirtualBox.StorageBUS] > work.
Check the typelib with oleview.exe. I think the name is more like StorageBUS_SATA, with some prefix. __Martin _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
