Interacting with customers, witnessing their petty practical needs and addressing them with simple scripts is a routine in any Technical Support guys day to day life. The scripts may sometime fall out of the scope of your support, however you still need to do this for the sake of customers and personal rapport. Here i’m going to start sharing few of such scripts which i believe could be useful to any administrator.

Now the Scenario

When you have bulk number of machines to be used for a network wide operations, it is always better to check the reachability/availability of the machine before trying the actual operation. Lets take an example of trying PSEXEC solution for the SoM (Scope of Management) agent install failed machines as described in my previous blog. You can get the agent failed computer list exported as a csv file from Desktop Central and use as described in the blog. However, imagine a case you have lot of computers which are down (Not alive on the network) in that list, so naturally the install process using the psexec tool is going to take more time. Instead if you can check the currently available computers in the network by doing a ping and then using it with psexec process will yield very good results in a better clocking.

The Actual Script

Here is the script which can ping the given list of computers and segregate the reachable and unreachable computers in separate files. In our sample scenario you can use the Reachable computers list along with the PSEXEC agent install process. Similarly in the case of patch and inventory scan you can go through the ping failed (unreachable computer list) and avoid scanning them. Copy and past the contents and save the file as .vbs script.

Download the Desktop Central GetReachablecomputer Script

Note : You need to download and rename the extension as .VBS

Try the script and let me know your experience and any further improvisation you may need. Also please feel free to modify or edit or add additional functionalities in the script and add it here for others to benefit.

Cheers
Romanus

  1. mike

    File Not Found