MSFN Forum: VB Script - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VB Script Help with writing a VB Script Rate Topic: -----

#1 User is offline   Boston2012 

  • Group: Members
  • Posts: 8
  • Joined: 26-October 12
  • OS:Server 2008 x86
  • Country: Country Flag

Posted 26 October 2012 - 11:15 AM

I need to create a VB Script to ping a specific IP address from every existing server in our network to confirm the store's firewall rules are correct to talk to the KMS server in preparation for the upgrade to Windows 2008.

The IP address to ping is 172.xx.xx.xxx

I need this script to ping the IP, capture the results, and bring the results back to RemoteWare where they can be organized into a consolidated report .csv file.

"ServerName", "Result", "Date/Time"

The Result should be True for Ping Response Received and False for No Ping Reponse received. The ServerName should be the Controller computer name.

Does anyone already have something like this available?


#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,364
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 26 October 2012 - 01:27 PM

Whilst this is a fairly standard company/business request, (with many examples available across the web); there are websites where persons are happy to produce new or bespoke solutions from existing scripts for a little remuneration.

I'd suggest on this occasion you use one of them.

#3 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,352
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 26 October 2012 - 01:38 PM

Here is a Link to a vbs script that I wrote. With a lttile modification it will do what you want.

#4 User is offline   Scr1ptW1zard 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 05-July 07

Posted 27 October 2012 - 02:55 AM

I would suggest you rethink your strategy on this.
Your goal is to determine if ALL your servers can communicate with the KMS. This communication is performed over port 1688 (by default) and a ping request will not test for this.
Take a look here http://technet.micro...y/ee939272.aspx for more troubleshooting information.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy