Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Using WMI for file information

by Anonymous Monk
on Mar 07, 2016 at 09:41 UTC ( [id://1156982]=note: print w/replies, xml ) Need Help??


in reply to Using WMI for file information

psexec?

Replies are listed 'Best First'.
Re^2: Using WMI for file information
by dasgar (Priest) on Mar 07, 2016 at 15:17 UTC

    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://1156982]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found