under request from NTDOC, I am starting this thread to continue a conversation from another thread re: migrating shared printers from one server to another...

I've been trying to get the PRIMAPSTATE UDF to work with no success. if someone can help me understand how to incorporate a UDF into my existing kix script. what I need to do is as follows...

if a user is mapped to \\serverA\printer1 I need the script to map \\serverB\printer1 then delete \\serverA\printer1. the only change is with the path as the share name is the same.

P.S. my apologies for "hijacking" the thread I previously posted on...

..help