Discussion:
wmi remote command line tool ?
(too old to reply)
Vilius Mockûnas
2010-02-09 11:35:24 UTC
Permalink
Hello,

It's possible to create process on remote computer using wmi.
So should be possible to build remote cmd app like telnet.

Maybe such tool already exists ?

thanks
Vilius
urkec
2010-02-09 17:40:01 UTC
Permalink
It is possible, but WMI is nod designed for that. One of the disadvantages
is that Win32_Process.Create() can't capture the output of the command it
started, you would have to store the output into a temporary txt file on the
remote computer, or something similar.

If PowerShell is an option for you I suggest you look into PowerShell
remoting, it is very powerfull.
--
urkec

My blog:
http://theadminblog.blogspot.com/

My CodeProject articles:
http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=4210975
Post by Vilius Mockûnas
Hello,
It's possible to create process on remote computer using wmi.
So should be possible to build remote cmd app like telnet.
Maybe such tool already exists ?
thanks
Vilius
.
Loading...