Need help fast? Ask Pulse AI and get instant support.

Go back to homepage

Add Printers

SOTI MobiControl
Windows

Printers are essential for many organizations, but manually adding them to employee devices can be time-consuming. Automating installation and configuration simplifies the process. With SOTI MobiControl, admins can remotely manage printers on Windows 10 devices using custom scripts.

Important:
  • It is recommended to test the script on a local/ test machine for its purpose and effects. 
  • SOTI MobiControl will not be responsible for any damage/loss to the data/setup based on the behavior of the script.

Add printer to device

1 "# Add a network shared printer from print server
2 $printerName = <Printername>
3 $printerPath = ""\\<PrinterServername> \$printerName""
4 Add-Printer -ConnectionName $printerPath
5 Write-Host ""Printer $printerName added via print server."""

Get printer details

1 --200--
2 Get-Printer

Remove printer

1 $printerName = <PrinterName>
2 Remove-Printer -Name $printerName
3 Write-Host "Printer $printerName removed successfully."

Was this helpful?

Need more help?
Ask Community