I dont know much about scripting, and Im in somewhat of a crunch for this.

I need to know how to collect a terminal services/citrix client IP address
and match it to a network# from a list to determine what printers to map for
that user.

The problem is that I need this script to work even if there isnt a terminal
service/citrix client ip. In that case it would need to use the system IP
that the user is logged onto.

The goal of this script is to allow users to roam around from site to site
and login to any system, but have the correct printers mapped for that
location.

Before mapping the printers though it would need to remove any current
mapped ones as well.

Thank you.