Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


I need the following script...

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,51045
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> I need the following script...
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 I need the following script... - 8/22/2007 4:39:45 AM   
  wsmoth

 

Posts: 2
Score: 0
Joined: 8/22/2007
Status: offline
I currently have a Kixtart script that we use after a patching window that does the following five things:
  1. It uses an input file will the names of all the servers we patched.
  2. It pings the server until it responds from the reboot.
  3. It then does a net view to the server to enumerate the shares. If the enumeration succeeds, it continues, if it fales, it writes it to a log.
  4. It reports how long the server has been up.
  5. It check which services start automatically and if they start autmatically if they are started. If they are not, it writes it to a log.

My company wants to move away from Kixtart to vbscript. I do not have the skill to do this in vb, could someone help me?

Here is the script in Kix:

      
//EDIT: Added code blocks - dm_4ever

Thanks in advance all!

< Message edited by dm_4ever -- 8/22/2007 3:18:19 PM >
 
 
Post #: 1
 
 RE: I need the following script... - 8/22/2007 6:01:03 AM   
  LANlazy

 

Posts: 82
Score: 0
Joined: 4/11/2007
Status: offline
Please read the "Read Me First" on this forum.  Below is a quote from that page.
 
quote:

We are not here to write scripts for you, we can fully support you in you writing your scripts.  If you make the attempt and are still having issues, we can and will gladly
help you out, you can Search our site for up-to-date information on retrieving objects from AD, read/write to the registry, etc...

If you have searched and still can't find what you are looking for, then make sure you include what you have searched for in your post, it will both show that you have made
the attempt, which will prevent the "Search first" posts and possibly someone can help refine your search terms to help you find the post you are looking for.

(in reply to wsmoth)
 
 
Post #: 2
 
 RE: I need the following script... - 8/23/2007 12:48:44 AM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
here is a script I used to use check servers.


      

(in reply to wsmoth)
 
 
Post #: 3
 
 RE: I need the following script... - 8/23/2007 2:50:54 AM   
  mcds99


Posts: 434
Score: 4
Joined: 2/28/2006
Status: online
OMG the third one today.

You need to buy several books on VBScript.

VBScript in a Nutshell (for specific refrence)
Any beginning VBScript book so you can get a handle on the language.

We will help you when you have made an effort to learn.

_____________________________

Sam

Keep it Simple Make it Fun KiSMiF

(in reply to wsmoth)
 
 
Post #: 4
 
 RE: I need the following script... - 8/23/2007 5:42:31 AM   
  wsmoth

 

Posts: 2
Score: 0
Joined: 8/22/2007
Status: offline
gdewrance,
YOU ROCK!!!!!

That is exactly what I needed!!!!

Man, you have saved me! Thanks soooo much!

- Will

(in reply to gdewrance)
 
 
Post #: 5
 
 RE: I need the following script... - 11/16/2007 2:26:53 AM   
  ashok123

 

Posts: 3
Score: 0
Joined: 11/16/2007
Status: offline