[vbox-dev] PowerShell with the COM API and enums usage

Olivier Cochard-Labbé olivier at cochard.me
Thu Aug 11 08:30:49 GMT 2011


2011/8/11 Nikolay Igotti <igotti at gmail.com>:
>  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.

Thanks,

Olivier




More information about the vbox-dev mailing list