This question is kind-of a follow up to Q_21177397 (http://www.experts-exchange.com/Networking/Q_21177397.html
I've got a script now that can install and assign the printer to a valid port. Now my question is: How do I identify where the server has designated the client's lpt1: port? (TSxxx)
Is there a standard variable that holds that value once the session is established? how would I read it?
And I'll 25 bonus point the answer if someone can tell me: in the command line, how can I keep that pop-up from microsoft that announces an unsigned driver from appearing?? I have a script that installs an unsigned, but working driver - I don't need that popping up every time a user logs in.
You folks are the best - thanks for the assistance!