You should be able to pull a list of the installed queue’s from WMI IIRC. Then plug that data into the script

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Abagnale
Sent: 13 October 2005 11:38
To: Active
Subject: [ActiveDir] Subinacl print queue

 

Hi,

 

I need to grant a security group permissions to every print queue on a Print Server.

 

I have looked at SUBINACL and I can use this to grant access to each print queue providing I know the name of the queue. e.g,

 

subinacl /printer \\printsvr1\USATPR001  /grant="WSADMINS"

 

The issue I have is that I don't know the name of every print queue, is there someway I can use a wildcard to allow this command to be run against every print queue listed on the server?

 

thanks frank


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Reply via email to