Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - PowerShell ► ««« »»»

Remove printer via command line in PowerShell?


Nothing is easier than removing a printer with a command line in PowerShell on all Microsoft Windows operating systems, why not when it's that easy!




1. Start PowerShell in admin mode as usual  ( 1. Windows + R 2. powershell  3. Ctrl + Shift + Enter )
 
2. Find your printer,  Get-Printer | Format List Name
 
3. Remove the printer by typing Remove-Printer -Name "printer name" .

Please replace "printer name" with your printer name, including the quotation marks. By the way, the quotes allow you to use spaces in PowerShell.

Here is an example of removing a printer from the command line:


(Image-1) Remove a printer from the command line in PowerShell!
Remove a printer command line in PowerShell!

-
▲ Back to the top ▲




Get Printer | Format List Name





FAQ 22: Updated on: 19 September 2022 17:05 Windows
PowerShell

Finding Shared Folders with PowerShell?


Listing shared folders and drives with PowerShell is quite handy If possible, start PowerShell in administrative mode if the relevant release requires administrative
PowerShell

Quickly change the Windows 11, 10, ... language with PowerShell!


The display language in Windows 11, 10, is the display language you have selected, the default language is used by all Windows settings, file explorer,
PowerShell

How can I use the command history in Windows PowerShell?


The command history in PowerShell should be used because it is practical, the integrated command history function is very popular under Windows 11, 10,
PowerShell

Customize the font in PowerShell and add more fonts, but how?


In Powershell you can also change and adapt the font and add more, under Windows 11, 10, and MS Server OS, how is no longer a question 1. Use a
PowerShell

Can I list user accounts through PowerShell?


It is quite easy to list user accounts via PowerShell with a small command that works under Windows 11, 10, and MS Server operating systems If you run
PowerShell

How can I find out the SHA hash value of a file using PowerShell?


It is really easy to find out the SHA256 hash value of a file with PowerShell under Windows 11, 10, or MS Server 1. Get SHA256 checksum via PowerShell 
PowerShell

Reset print queue with PowerShell?


If there are a lot of pending jobs in the print queue, PowerShell can be used to delete all of the print jobs and thus reset everything 1. The command

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: powershell, remove, printer, command, line, nothing, easier, than, removing, with, microsoft, windows, operating, systems, when, that, easy, start, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + TraceRouteOK
  + GetWindowText
  + AutoHideMouseCursor
  + Desktop.Calendar.Tray.OK
  + OK.Its.Raining.Men
  + Run-Command
  + MagicMouseTrails
  + CpuFrequenz
  + MultiClipBoardSlots
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.093


► Find duplicate files with different file size or compression! ◄

► How to Change Desktop Wallpaper / Slideshow in Windows 10? ◄

► How to find the fonts and the fonts folder in MS Windows OS and Server? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....