This script is to create print queue on an array of servers with following checks:
* Check printer name is unique on each print server
* Check printer port
- IP Address is a valid IP (please note this script is using .NET IPAddress class, which takes 0.0.0.1 as valid IP)
- IP Address is unique on each print server
* Create printer port on each print server
* Create print queue on each print server
To run this script, please change:
1. Print server names
2. Print driver name
Script: Add-Print_Queue.ps1
Subscribe to:
Post Comments (Atom)
Compare Print Queues on Two Print Servers
In an active-active print servers scenario, we would like to make sure all print queues are identical. This means: 1. Print queue names are...
-
There are a couple of ways to create printer port and printer queue with PowerShell, depending on the OS, performance and personal preferenc...
-
In an active-active print servers scenario, we would like to make sure all print queues are identical. This means: 1. Print queue names are...
-
Using .NET to query print queues is much faster, here is the difference running the script on two print servers: Print Queue Count WMI...
No comments:
Post a Comment