Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Script help for Network Printers and Groups

Status
Not open for further replies.

sevi

IS-IT--Management
Jan 29, 2002
64
GB
I’m trying to create a Login script that will do the following:

Check if a user is a member of a named group.

If they are, then check if a named printer exists. If it does, do nothing.

If the printer doesn’t exist, then create it.

If the user is not a member of the group, then check if a named printer exists. If it does, delete the printer.

I’ve seen all the posts about creating printers etc based on groups (including Marks FAQ), but I cant figure out how to do this.

Any help would be appreciated.
 
Are you wanting to create/delete local printers or coneect/disconnect from remote printers? This will make a large difference on how to approach your request and guide you.

Thanks

John Fuhrman
Titan Global Services
 
Sorry, yes they are all remote printers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top