PowerShell 复制 Remove-Printer [-Name] <String[]> [-ComputerName <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]PowerShell 复制 Remove-Printer -InputObject <CimInstance[]> [-CimSession <CimSession[]>] ...
This command removes the print job with an ID of 1 on the printer named PrinterName.PowerShell 複製 PS C:\> Remove-PrintJob -PrinterName "PrinterName" -ID 1 Example 2: Remove a print job using printer object and the print job ID...
To illustrate the process of installing a new print driver, let’s take a concrete example of setting up HP Universal Printing PCL 6. According to the documentation, the PowerShell command for adding a driver is: Add-PrinterDriver -Name “HP Universal Printing PCL 6” -InfPath “C:\Distr\...
To remove a printer with Windows PowerShell, I use the Remove-Printer function from the PrinterManagement module. There are two ways to use the Remove-Printer function: Remove-Printer [-Name] <String> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-ComputerName <String>]...
To remove this printer, open a new command prompt instance, then type or paste the following command: printui.exe /dl /n "Microsoft Print to PDF" The same can be done using PowerShell. Open a new instance of PowerShell and use the following command: ...
Remove a printer using PowerShell Open PowerShell as Administrator. Tip: You canadd "Open PowerShell As Administrator" context menu. Type or copy-paste the following command: Get-Printer | Format-Table Name,Shared The command will print a table with your printers and their sharing status. ...
PowerShell 复制 Remove-MgPrintPrinter -PrinterId <String> [-IfMatch <String>] [-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-PassThru] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]PowerShell 复制 ...
Windows PowerShell Web Access Cmdlets Windows Search Cmdlets Windows Server Backup Cmdlets Windows Server Essentials Cmdlets Windows Server Essentials Setup Cmdlets Windows Server Update Services (WSUS) Cmdlets Windows Server 2012 和 Windows 8 的模块参考 ...
Type the following command to Windows PowerShell and press Enter. Get-PrinterDriver | Format-List Name This will list all the printer drivers that have been installed on your PC Step 4: Type the following command and press Enter to remove the printer driver from your computer: Remove-Printer...
, and updated the firmware on several of the printers. The drivers are installed on the print servers, and the shares have been created. Now I have to remove the old printer connections from the client workstations, and set new default pr...