I have a vbscript used as a login script to give users printer access based on group.
There are 'exam rooms' that use default logins for their thin clients and the default format for that login will reflect the exam room that they are in....slaekex5, slaekex6, slaekex7...etc.
I don't think this is the right syntax, but this is what I want to accomplish
if strUserDn = "slaekex*" then
'// Sets Default Printer
WshNetwork.SetDefaultPrinter "\\P5\MMCC-GenSurgprt02"
Is there a way to accomplish what I want above?
There are 'exam rooms' that use default logins for their thin clients and the default format for that login will reflect the exam room that they are in....slaekex5, slaekex6, slaekex7...etc.
I don't think this is the right syntax, but this is what I want to accomplish
if strUserDn = "slaekex*" then
'// Sets Default Printer
WshNetwork.SetDefaultPrinter "\\P5\MMCC-GenSurgprt02"
Is there a way to accomplish what I want above?