How do I get the terminal services Session ID?

  • Thread starter Thread starter ShaneUK20
  • Start date Start date
S

ShaneUK20

Hi
I'm trying to set the printers for my reports which I've done.
My issue is that the printer name changes each time I log into the terminal
server.
If I can look up the Session ID then I can build the printer name.
Does anyone know how to find it?
I read an article a while back that suggested it was an environment variable.
Thanks
ShaneUK20
 
Back
Top