Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Using WMI for file information

by dasgar (Priest)
on Mar 07, 2016 at 15:17 UTC ( [id://1157004]=note: print w/replies, xml ) Need Help??


in reply to Re: Using WMI for file information
in thread Using WMI for file information

To expand on the psexec suggestion, it's a part of the Sysinternals suite of tools that are now owned by Microsoft. It basically will let you execute a command on a remote Windows system - including copying a "program" to the remote system to be run remotely.

Since you're also interested in capturing the output of the command being run on the remote system, you may want to consider pairing psexec with Capture::Tiny.

If you have a log in for the remote system that has the required permissions to do what you want, I believe that psexec might be the easiest route to go.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1157004]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-20 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found