Hi,

Recently I found a "winexe" tool (http://eol.ovh.org/winexe/). It can be 
used to start tasks on Windows machines, from a Linux machine.

It is similar to "psexec" tool, known to Windows administrators.

An example - we start it from a Linux machine, and then start wpkg.js 
/query:a:

[EMAIL PROTECTED] Desktop]$ uname -r
2.6.16-1mdk
[EMAIL PROTECTED] Desktop]$ ./winexe -W LAPTOK -U Administrator //192.168.1.4 
"cmd.exe"
Password for [LAPTOK\Administrator]:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS\system32>ver
ver

Microsoft Windows XP [Version 5.1.2600]

C:\WINDOWS\system32>cscript c:\wpkg\wpkg.js /query:a
cscript c:\wpkg\wpkg.js /query:a
Microsoft (R) Windows Script Host, Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.

Windows Packager sample 1
     ID:         wpkg1
     Revision:   1
     Reboot:     false
     Status:     Not Installed

Windows Packager sample 2
     ID:         wpkg2
     Revision:   1
     Reboot:     false
     Status:     Not Installed



-- 
Tomasz Chmielewski
http://wpkg.org

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to