What exactly do you want from the remote machine? Some things you can do and some you can't. What information do you need to get back?
PSC
Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
For the disk information you can query WMI on the remote machine. Look at the .Size and .FreeSpace properties of the Win32_LogicalDisk class. To get the machine name if you know the ip address you can shell out to ping or nslookup either one.
[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
While you're at the MS link, download Script-O-Matic. You'll find it to be greate assisance in writing WMI scripts.
PSC
Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.