Good morning, I'm sorry if I'm doing this wrong but i've been searching the forums for a while and haven't found a solution for this and i'm not sure the best way to do it.
First I'm trying to assign printers to some of my remote sites which connect over a VPN the network is 192.168.X.X I'd like to script mapping printers if you ip address is 192.168.10.X at the .10 you'd get printer \\server\printer1
if your ip is 192.168.16.X you'd get \\server\printer3. I searched the UDFs and didn't see anything that i could figure out. I'm a newb/getting better. but this is above my head. Any suggestions would be appreciated.

Long time reader/first time poster \:\)