The PrintManagementDsc module contains DSC resources for deployment and configuration of printers.
This is the branch containing the latest release - no contributions should be made directly to this branch.
This is the development branch to which contributions should be proposed by contributors as pull requests.
A full list of changes in each version can be found in the change log.
- PrinterDriver Manages what print drivers are installed on a host
- Printer Manages printers installed on a host
Manages what print drivers are installed on a host.
[String]
Ensure (Write): Specifies if the printer should exist or not. { Present | Absent }.[String[]]
Name (Required): The desired driver name used in the INF file.[String]
Version (Required): Specifies the version of the driver that would be used.[String]
Source (Required): The location where the INF file is located to install the driver.[Boolean]
Purge (Write): Allows the removal the driver from the driver store after all printers are no longer using it. This is only used when Ensure is set to Absent.
Manages printers installed on a host.
[String]
Name (Key): The desired name of the printer.[String]
Ensure (Write): Specifies if the printer should exist or not. { Present | Absent }.[PortType]
PortType (Write): The desired type of printer port needed. The default value is TCPIP. { TCPIP | Papercut | LPR }[String]
PortName (Required): The desired port name.[String]
Address (Required): The desired address of the printer.[String]
DriverName (Required): The desired driver of the printer.[String]
LprQueueName (Write): The desired LPR queue name. Used only if PortType is set to LPR.[Boolean]
Shared (Write): The desired shared state of the printer. The default value is $true.[String]
SNMPCommunity: The desired SNMPCommunity used for SNMP communication. Requires SNMPIndex to also be set. This will enable SNMP on the port The default value is Public.[UInt32]
SNMPIndex (Write): The desired index used for SNMP communication. Requires SNMPCommunity to also be set. This will enable SNMP on the port The default value is 1.[String]
PermissionsSDDL (Write): The desired permissions of a printer[String]
Location (Write): The desired Location property of a printer[String]
Comment (Write): The desired Comment property of a printer[Boolean]
Published (Write): The desired Published property of a printer. Requires the host is joined to an Active Directory domain. The default value is $false.