Print
PDF

Search for a service across the network

User Rating: / 0
PoorBest 

 

codeAs always the code presented here is for instructional purposes. These scripts will most likely need to be modified to run in your environment. Also as I believe firmly in "re-usable code" you may find pieces of your scripts incorporated into mine. If so and you would like credit use the "email me" link and let me know. I'll be happy to add your name. Likewise if you use my code in a public forum please give me credit.

NOTE: You can copy and paste the code below to a text file, just change the extension to ".wbt" so it will run in Winbatch.

About This Script: This Winbatch script is more of a skeleton that you can modify and use for a number of search and info gathering purposes. In it's current form it searches a list of systems and checks for the IIS service and reports on whether it exists or not. You can modify it to look for any thing you want and to run a program or script against any system it finds. Open it up and look at it. It's very self explanatory.

 

Trackback(0)
Comments (0)add comment

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy

If you like what we got, then make a donation and feel better about yourself.