Menu

get operatingSystem info from a remote machin

Josse
2009-08-26
2012-11-29
  • Josse

    Josse - 2009-08-26

    Hi there,

    I'm trying to connect to remote server and get some infos on the OS. In vbs the commands are describe in the site below :
    http://msdn.microsoft.com/en-us/library/aa394596\(VS.85).aspx

    I begin my code like this :

    JISession session = JISession.createSession(DOMAIN, USERNAME, PASSWORD);
    JIComServer comServer = new JIComServer(JIProgId.valueOf(CLASSID), SERVER_IP_ADDRESS, session);
    IJIComObject object = comServer.createInstance();
    <***Code***>       
    JISession.destroySession(session);

    I don't don't if this is the correct approah to do what I want and what do i have to put after create my object.
    Do you have leads or bit of code that can help me?

    Thanks,

    Best Regards.

     
    • Josse

      Josse - 2009-08-26

      Sorry i moved this topic in the "help" category.

       

Log in to post a comment.