Skip to main content

All Questions

1 vote
1 answer
52 views

How to change "Original size" of paper in printer using Powershell

Good day! The standard paper for our users is A4. However, after printer installation, the "Original size" always defaulted to A3 or Letter. Even after trying to save printing preferences ...
Alex's user avatar
  • 39
0 votes
0 answers
1k views

I need to write a script that removes all printers, but leaves behind the print to PDF + Fax. It also needs a sanity check, eg found 6 removed 6

I need a little help making a script that removes all printers, ports and drivers apart from the default microsoft offerings such as fax and print to pdf, and any epson printers as those are for ...
Sharpe's user avatar
  • 5
0 votes
1 answer
1k views

adding a printer through PowerShell doesn't allow me to print but adding it though control panel will

I'm trying to test adding printers through PowerShell and I've had one successful test by adding a printer already added to the PC through PowerShell by removing the printer through control panel then ...
samuel clark's user avatar
0 votes
2 answers
8k views

Printer SN via Powershell?

is it possible to get the serial number of a network printer in the AD via a Powershell command? I have several Brother printers in the AD, and their IP Addresses, and I could install any Printer on ...
Ajdin's user avatar
  • 3
2 votes
1 answer
6k views

Adding Network Printers via Powershell

So I am trying to add printers using PowerShell. Before this, I did look into using GPOs to deploy printers, but I kept getting an errors. My predecessor created a VBS script to deploy them, but I am ...
Herc08's user avatar
  • 21
1 vote
1 answer
1k views

PowerShell script to add network printer and map network drive when offline

Is it possible to add network printer and map a network drive "on hold" when you are offline? E.g. running commands like these when you are offline but when you connect to network YYY printer ...
JPX's user avatar
  • 157
1 vote
0 answers
194 views

RDSH Network Printer Mapping via Group Policy / Power Shell

Got a huge hurdle currently that I need to try and overcome. I have successfully mapped print server defined printers via GPO and all is well on the client side machines. However, i am having issues ...
Batteredburrito's user avatar
0 votes
0 answers
2k views

Migrate users from old print server to new print server

I am trying to script out a method of moving users from our old 2003 server to our new 2012 server. The clients are using Windows 7 and 8.1. The trouble is I am new to scripting, and googling hasn't ...
Andrew Ryan Davis's user avatar
4 votes
3 answers
62k views

How to get a list of printers on a remote computer?

I am using this to attempt to get a list of printers on a remote computer: Get-WmiObject win32_printer -ComputerName "$oldPcName" The problem is I only get local printers, not those ...
Wayne In Yak's user avatar
0 votes
4 answers
6k views

How to calculate the StartTime / UntilTime parameter using Get-Printer in Powershell?

I have an printer setup using the GUI and set the printer availabilty from 18:40 until 3:00 As well i got the PS command "Get-Printer Printer1 | format-list" The result of the command puts out: ...
Ivan Viktorovic's user avatar
1 vote
1 answer
5k views

PowerShell script to re-install printer, set to default if it was default

We have a printer at work that is giving us problems. We have tried a few different solutions but when a user goes to print to this printer Windows 7 will sometimes display something like: Windows ...
0xDECAFBAD's user avatar