Forum: Ruby win32ole with 'VirtualServer.Application'?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fd411ea5ae69f365bf13f9deca81a3cf?d=identicon&s=25 jfc (Guest)
on 2005-11-22 10:51
(Received via mailing list)
require 'win32ole'
vs=WIN32OLE.new('VirtualServer.Application')
vm = vs.FindVirtualMachine("Windows 2000 Server")

the error:
WIN32OLERuntimeError: FindVirtualMachine
    OLE error code:80070542 in <Unknown>
      <No Description>
    HRESULT error code:0x80020009
      Exception occurred.
        from (irb):22:in `method_missing'
        from (irb):22


what is wrong?

Thank
This topic is locked and can not be replied to.