try {
// JISystem is **extremely** verbose!
JISystem.getLogger().setLevel(Level.SEVERE);
// Create a session
JISession session = JISession.createSession(bonafides.getDomain(),
bonafides.getUser(), bonafides.getPassword());
session.useSessionSecurity(true);
// Execute command
JIComServer comStub = new JIComServer(JIProgId.valueOf("WScript.Shell"),
bonafides.getHost(), session);
IJIComObject unknown = comStub.createInstance();