I want to use the standard add printer and set as default script to add a printer to a group of users. How can i add a IF statement so is a user belongs to a certian Group they get one printer and another group would get another printer..?
I am using:
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\server\printer"
WshNetwork.SetDefaultPrinter "\\server\printer"
Anyone know how to make the IF statement?
I am using:
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\server\printer"
WshNetwork.SetDefaultPrinter "\\server\printer"
Anyone know how to make the IF statement?