Horje
How to Remove Network Printer on a Remote Computer?

Answer: Invoke the command `Invoke-Command -ComputerName RemotePC -ScriptBlock {Remove-Printer -Name “PrinterName”}`

Access the Remote Computer

Ensure you have administrative rights to access the remote computer, typically through Remote Desktop or PowerShell.

Identify the Printer

Determine the name of the printer you want to remove.

Use PowerShell

Open PowerShell with administrative privileges.

Execute Removal Command

Run the following command:

Invoke-Command -ComputerName RemotePC -ScriptBlock {Remove-Printer -Name “PrinterName”}

Replace “RemotePC” with the target computer’s name and “PrinterName” with the actual name of the printer to be removed.

Conclusion

Removing a network printer from a remote computer is streamlined with PowerShell, allowing administrators to efficiently manage printers without physical access to the device. This process saves time and reduces the need for onsite maintenance.




Reffered: https://www.geeksforgeeks.org


Computer Networks

Related
Which Diffie Hellman Group is Most Secure? Which Diffie Hellman Group is Most Secure?
Name a Major Drawback of IPSec? Name a Major Drawback of IPSec?
How Does Concept of "Redirection" Works in ICMP? How Does Concept of "Redirection" Works in ICMP?
How Absolute URL is Different from Relative URLs? How Absolute URL is Different from Relative URLs?
How to Measure Speed of Modem? How to Measure Speed of Modem?

Type:
Geek
Category:
Coding
Sub Category:
Tutorial
Uploaded by:
Admin
Views:
11