Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Script to save doing multiple tasks

$
0
0

Hi there,

I have a few tasks ahead of me which I'd like to resolve using a script which I can send to my users to run manually.

The tasks are this:

*Run a VBS script which adds a Registry entry

*Run an MSI installer

*Generate an NFO file

*Send the NFO file back to a location

Currently the VBS script to run the registry edit is quite simple:

[HKEY_LOCAL_MACHINE\SOFTWARE\MonitoringClient]
"ClientGroup"="Enter Client Group here"
"Subdomain"="MyCompany"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MonitoringClient]
"ClientGroup"="Enter Client Group here"
"Subdomain"="MyCompany"

Following this I then need to run an MSI installer.

Once these two tasks have been completed I need to generate an NFO of the machine and save it as [Computername.nfo]

Then I need it to send the NFO file back to the server. I guess I can get the above line to generate the NFO in a particular location i.e a folder on the server.

Any idea how I go about writing a script that I can have the user initialise from their desktop?

Your comments are appreciated.

Owen


Viewing all articles
Browse latest Browse all 15028

Trending Articles