Hi all,
I am new to this forum, I hope someone would help with this, I am looking for vb script which helps me to get the printers with specific configuration, I want to list all the printe queues in our environment with attribute set to "keep printed documents" true.
I found the prncnfg.vbs script in C:\Windows\System32\Printing_Admin_Scripts\en-US, on W2K8 R2 server, this script is available on all windows OS stored in different paths. through this script I am able to fetch the information. by running this command {c:\Cscript prncnfg.vbs -g -s (servername) -P (printername)} {I copied the script to c drive from default windows path before executing this command}, the out put would list if the print queue is set to that attribute along with other info.
But I need to know only if the attribute " keep printed documents" is true or false for all the printers on one print servers.
and also I have all the servers list with me, so is it possible to get the results in one go.
I am new to this forum, I hope someone would help with this, I am looking for vb script which helps me to get the printers with specific configuration, I want to list all the printe queues in our environment with attribute set to "keep printed documents" true.
I found the prncnfg.vbs script in C:\Windows\System32\Printing_Admin_Scripts\en-US, on W2K8 R2 server, this script is available on all windows OS stored in different paths. through this script I am able to fetch the information. by running this command {c:\Cscript prncnfg.vbs -g -s (servername) -P (printername)} {I copied the script to c drive from default windows path before executing this command}, the out put would list if the print queue is set to that attribute along with other info.
But I need to know only if the attribute " keep printed documents" is true or false for all the printers on one print servers.
and also I have all the servers list with me, so is it possible to get the results in one go.
dibu