CmdID

CmdID / PowerShell / Cmdlets / Add

Add-Printer

Adds a printer to the specified computer. Windows Server PowerShell reference

From the Windows Server PowerShell reference 31 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

31 in the Windows Server PowerShell reference
Show its 31 parameters
-AsJobRuns the cmdlet as a background job.
-BranchOfficeOfflineLogSizeMBSpecifies the maximum size, in megabytes, of the branch office remote offline log file for this printer.
-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.
-CommentSpecifies the text to add to the Comment field for the specified printer.
-ComputerName, -CNSpecifies the name of the computer to which to add the printer.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-ConnectionNameSpecifies the name of a shared printer to which to connect.
-DatatypeSpecifies the data type the printer uses to record print jobs.
-DeviceURLSpecifies a URL for the directed discovery of a Web Services on Devices (WSD) printer to add to the specified computer.s
-DeviceUUIDSpecifies the multicast UUID for device detection for the WSD port.
-DisableBranchOfficeLoggingIndicates that branch office remote logging is disabled.
-DriverNameSpecifies the name of the printer driver for the printer.
-IppURLSpecifies a URL or hostname or IP address for the directed discovery of an IPP (Internet Printing Protocol) printer to add to the specified computer.
-KeepPrintedJobsSpecifies whether the print jobs in the queue are kept.
-LocationSpecifies the location of the printer.
-NameSpecifies the name of the printer to add.
-PermissionSDDLSpecifies the permissions for the printer as a Security Descriptor Definition Language (SDDL) string.
-PortNameSpecifies the name of the port that is used or created for the printer.
-PrintProcessorSpecifies the name of the print processor used by the printer.
-PrioritySpecifies the relative queue priority.
-PublishedSpecifies whether the printer is published in the network directory service.
-RenderingModeSpecifies the rendering mode for the printer.
-SeparatorPageFileSpecifies the path of and name of the separator page to be used by the printer.
-SharedIndicates whether to share the printer on the network.
-ShareNameSpecifies the name by which to share the printer on the network.
-StartTimeSpecifies the starting time of printer availability.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-UntilTimeSpecifies the ending time of printer availability.
-WorkflowPolicyEnables an administrator to associate a given printer with a specific Workflow application.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.