Jump to content

remote tasklist


pcjunki
 Share

Recommended Posts

i'm trying to do a remote tasklist

i have some code working, it connects to the pc, shows the running tasks

but then flashes away

how do i make the cmd on my pc stay up?

here is my code

Func tasklist($pc)
Run(@ComSpec & " /c tasklist /s " & $pc)
EndFunc
Link to comment
Share on other sites

in the run command, print out to a file, and then read the data out of that document.

Run(@ComSpec & " /c tasklist /s " & $pc & " 1>&2 yourDirAndFile.txt")

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...