|
|
|
|
#1 |
|
Hyperactive Member
Join Date: Sep 02
Location: Okinawa, Japan
Posts: 271
![]() |
[vbs] Installing patches remotely
This code uses WMI to install exe files (patches) from a folder on local computer to other computers on a network.
This demonstrates how to: Create Explorer window with a TextArea in vbs and access the TextArea. Use WMI to create a process on target computer and receive notification when it terminates. Enjoy. VB Code:
packetvb |
|
|
|
|
|
#2 |
|
Hyperactive Member
Join Date: Sep 02
Location: Okinawa, Japan
Posts: 271
![]() |
Re: [vbs] Installing patches remotely
Over 600 views and no comments?
Anyway theres a logic problem in the script source. packetvb |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 05
Posts: 1
![]() |
Hi, Just wanted to extend my gratitude for the patch installation script. I have been wrestling with this all day and getting nowhere. this will make life a lot easier in the future. All I need to do is understand why yours works and mine doesn't...
|
|
|
|
|
|
#4 |
|
New Member
Join Date: May 05
Posts: 1
![]() |
PacketVB this is a good script -- I have successfully used it for patching two test servers. Is there a way to read the server list out of a file instead of having to add all the servers in an array. I have quite a lot of servers to update.
Thank you in advance for your help on this. |
|
|
|
|
|
#5 |
|
Hyperactive Member
Join Date: Sep 02
Location: Okinawa, Japan
Posts: 271
![]() |
Re: [vbs] Installing patches remotely
jrex7,
Thanks. Hmm havent tried that from script. Ive done it from vb using API's. I wonder if WMI has something that would return a list from active directory, would need 2k or above though. When I get time ill have to check into that. But you may be able to get a com component that will allow you to call API from script. Cant remeber the name of the API. Packetvb |
|
|
|
|
|
#6 |
|
New Member
Join Date: Mar 09
Posts: 1
![]() |
Re: [vbs] Installing patches remotely
I see its been awhile since any replied to this, but is there a way to make the script to continue if it doesnt find one of the computers? Everytime that I run this it all goes well until it finds a computer that is not connectable (Turned off or in sleep mode). When it does find this it tells me that there is error. Please help. thanks.
|
|
|
|
|
|
#7 |
|
New Member
Join Date: Apr 10
Posts: 1
![]() |
Hi,
I am new to this patching activities and vb scripting. Actually in our environment we are using a centralized location over a network to store patches.we are installing patches from that location for ever servers.I wanna automate this process, i need a vb-script to do the following task, 1.First to check the operating system and copy the relevant patches from the shared location. 2.Then install the patches and finally reboot the servers. 3.The script can able to get list of patches as an input from a file and also it should create a log file for these activities. kindly guide me on this. Thanks in advance. regards, Jack |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|