![]() The command can looks as follow: pnputil.exe -i -a C:\Distr\HP-pcl6-圆4\hpcu118u.inf (installs the specific printer driver) or pnputil.exe -i -a C:\Distr\HP-pcl6-圆4\*.inf (installs all the drivers found in the INF files in the specified directory) ![]() ![]() the VBS script described in the previous article.To add a driver to the DriverStore, you can use: It appears that you can’t install a print driver that is not in the Driver Store using Add-PrinterDriver command. It turns out that the driver from the INF file can only be installed if it already exists in the DriverStore. To get detailed information about the syntax of any command, use the following command:Īdd-PrinterDriver : One or more specified parameters for this operation has an invalid value.At line:1 char:1 Add-PrinterDriver -Name “HP Universal Printing PCL 6” -InfPath “C:\Di … ~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidArgument: (MSFT_PrinterDriver:ROOT/StandardCimv2/MSFT_PrinterDriver), CimException FullyQualifiedErrorId : HRESULT 0x80070057,Add-PrinterDriver Write-PrinterNfcTag – write information into the NFC tag.Suspend-PrintJob – suspend (pause) the print job.Set-PrinterProperty – change printer properties.Set-Printer – update the printer configuration.Set-PrintConfiguration – set the printer configuration.Resume-PrintJob – resume the paused print job.Restart-PrintJob – restart the print job.Remove-PrintJob – delete a print job on the printer.Remove-PrinterPort – remove the printer port.Remove-PrinterDriver - remove the printer driver.Read-PrinterNfcTag – get printer information from the NFC tag.Get-PrintJob – get a list of printer print jobs.Get-PrinterProperty – show printer properties.Get-PrinterPort – displays the list of the printer ports.Get-PrinterDriver – display the list of the installed drivers.Get-Printer – display the list of printers installed on the computer.Get-PrintConfiguration – display printer configuration.Add-PrinterPort – create local print port.Add-PrinterDriver – install new print driver.Add-Printer – add (install) new printer.The PrintManagement module include 22 PowerShell cmdlets for managing printers, drivers, print ports, and queues: You can get the full list of print, driver and print queue management cmdlets available in the PrintManagement module on Windows 10 (PowerShell v5) with the following command: Along with the release of Windows 8.1 and Windows Server 2012 R2, Microsoft released a new version of PowerShell 4.0 (a part of Windows Management Framework 4.0), which significantly extended the list of the Windows-based print server management cmdlets. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |