WebbBest way to do this is to install the printer on a test machine so you can find the path to the installed driver. Add-PrinterDriver -ComputerName $env:COMPUTERNAME -Name … Webb20 maj 2024 · Alright, I figured it out. With the -Name parameter you need to specify a valid name for that driver, according to the available names in the .inf file. This is the name …
How to install Printer Drivers and Printers from Intune using Win32 …
Webb18 aug. 2015 · $compname = "MachineName" Enter-PSSession $compname (New-Object -ComObject WScript.Network).AddWindowsPrinterConnection("\\PrintServer\Printer1") (New-Object -ComObject WScript.Network).SetDefaultPrinter('\\PrintServer\Printer1') The problem I'm having is that the code is running just fine when running locally. Webb20 dec. 2016 · The Add-PrinterDriver cmdlet installs a printer driver on the specified computer. You cannot use wildcard characters with Add-PrinterDriver. You can use Add … calories scooters sugar free blenders
PowerShell is fun :) Adding printer drivers and printers using ...
WebbYou need administrator credentials to run Add-PrinterDriver. Examples Example 1: Add a printer driver Add-PrinterDriver -Name "Driver Name" This command installs the printer … WebbAs I described in the last post the easiest way to install printer drivers is to manually or automatically connect to your print server (s) to install the drivers. This is normally not a … Webb15 mars 2024 · The first thing we need to do is determine what systems we want to push the printers and drivers to. In our example, we’re going to create a local folder on the C: drive called DEPLOY. Inside the C:\DEPLOY folder, we create a simple text file with a list … calories she crab soup