Alright. I am looking for a script that logs all files, folders, and subfolders (and sub files) of any drive on a remote computer.
I found a script that does it, BUT it does not do sub directories or folders.
strComputer = (InputBox(" Computer name:", "Z Basic"))
If strComputer <> "" And...
...& strComputer & "\root\cimv2")
Set colMonitoredProcesses = objWMIService. _
ExecNotificationQuery("select * from __instancecreationevent " _
& " within 1 where TargetInstance isa 'Win32_Process'")
i = 0
Do While i = 0
Set objLatestProcess =...
Is there a script that makes the specified remote computer run a specified .exe that is already on the target computer?
This is for our small network, we have our access protection program, but no way to activate it.
After having registry problems, we decided we wanted a script that does what...
AH, I'd love to. However I am only just starting with VBScript, and by looking at your code, it's too big for me to write myself.
Basically I need your script with some extra features attached, namely creating a log file of all directories and sub directories of the flash drive.
This is a script for opening CD drives, is this possible to do remotely?
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1...
...= GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = " & strProcessKill )
For Each objProcess in colProcess
objProcess.Terminate()
Next
End if
End if
WScript.Quit
Here's my code so far,
and what is does is limited because it only has one dialog box, meaning that to shutdown multiple computers, you need to open up more then one instance of the program.
What I'd like to do is change the code so that you have 3 input box's, so that by filling in the...
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.