VB Script to test ip range and install a printer

By kerneelskruger ·
Hello everyone.

I need a bit of help.

We are currently running a server with 3 sites connected to it (3 different ip ranges). The users log on to computers in any of the 3 sites. Each site has its own printer.

Now my problem is this:
When a user logs on i need a batch file or vbs (log on script file) to check the ip range that the user is currently logging into and then to install a printer according to the IP range.

I know i need a to use IF and OR statements to install the printer once i have the ip range to test it against but how do i test/ check the ip range?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Related Discussions

Related Forums